Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
aralroca committed Apr 26, 2024
1 parent 0266ec8 commit 7dd2981
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/spa-like/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ const server = Bun.serve({
const ususpensedTemplate = document.getElementById('suspensed-content');
if (suspensedElement && ususpensedTemplate) {
// document.startViewTransition(() => {
document.startViewTransition(() => {
suspensedElement.replaceWith(ususpensedTemplate.content.cloneNode(true));
ususpensedTemplate.remove();
// });
});
}
}
unsuspense();
Expand Down

0 comments on commit 7dd2981

Please sign in to comment.