Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
takurinton committed Mar 19, 2024
1 parent 3591758 commit e6c49b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion preact-iso/src/prerender.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default async function prerender(vnode, options) {
};

try {
const html = `${renderToStringAsync(
const html = `${await renderToStringAsync(
vnode
)}<script type="isodata"></script>`;
return { html, links };
Expand Down

0 comments on commit e6c49b6

Please sign in to comment.