Skip to content

Commit

Permalink
Fix: Import of unsafeHTML directive fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanholzapfel committed Sep 24, 2021
1 parent c7e3206 commit 422d637
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stefanholzapfel/lit-translate",
"version": "2.2.0",
"version": "2.2.1",
"description": "A lightweight translation directive for Lit 2",
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion src/translateUnsafeHTML.directive.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {directive} from 'lit/async-directive.js';
import {Interpolations} from './translate.service';
import {TranslateDirective} from './translate.directive';
import { unsafeHTML } from 'lit/directives/unsafe-html';
import { unsafeHTML } from 'lit/directives/unsafe-html.js';

class TranslateUnsafeHTMLDirective extends TranslateDirective {
render(identifier: string, interpolations?: Interpolations) {
Expand Down

0 comments on commit 422d637

Please sign in to comment.