Skip to content

Commit

Permalink
semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
Fil committed Nov 6, 2024
1 parent afa6703 commit 43074b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ ${html.unsafe(rewriteHtml(page.body, resolvers))}</main>${renderFooter(page.foot
</body>
<script>{import('${resolveImport(
"observablehq:stdlib"
)}').then(async({Generators:{dark:k}})=>{for await(let d of k()){document.body.classList.toggle("dark",d),document.body.classList.toggle("light",!d)}})}</script>
)}').then(async({Generators:{dark:k}})=>{for await(let d of k()){document.body.classList.toggle("dark",d);document.body.classList.toggle("light",!d)}})}</script>
</html>
`);
}
Expand Down

0 comments on commit 43074b3

Please sign in to comment.