Skip to content

Commit ed2a4c9

Browse files
committed
fix: use lit-ssr html function
1 parent 1bddaa9 commit ed2a4c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/pfe-tools/ssr/ssr.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { render } from '@lit-labs/ssr';
1+
import { render, html } from '@lit-labs/ssr';
22
import { collectResult } from '@lit-labs/ssr/lib/render-result.js';
3-
import { html } from 'lit';
43
import { unsafeHTML } from 'lit/directives/unsafe-html.js';
54

65
/**
6+
* composes the `unsafeHTML`, `html`, `render`, and `collectResult` functions from lit ssr
77
* @param input html partial
88
*/
99
export async function ssr(input: string): Promise<string> {

0 commit comments

Comments
 (0)