Skip to content

Commit

Permalink
revert: Accidental change to demo's mount point
Browse files Browse the repository at this point in the history
  • Loading branch information
rschristian committed Dec 15, 2023
1 parent ac891fa commit 96dee28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<title>Vite + Preact</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/index.tsx"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion demo/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function App() {
);
}

hydrate(<App />);
hydrate(<App />, document.getElementById("app"));

export async function prerender() {
const { html, links } = await ssr(<App />);
Expand Down

0 comments on commit 96dee28

Please sign in to comment.