Skip to content
This repository has been archived by the owner on Oct 13, 2022. It is now read-only.

Commit

Permalink
Fix duplicated elements
Browse files Browse the repository at this point in the history
  • Loading branch information
babeard committed Mar 17, 2021
1 parent 820f653 commit 4402636
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/client.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import * as sapper from '@sapper/app';

sapper.start({
target: document.querySelector('#sapper')
});
window.addEventListener('load', () => {
sapper.start({
target: document.querySelector('#sapper')
});
});

0 comments on commit 4402636

Please sign in to comment.