chore(standalone/setup): replace properly for hot reload

This commit is contained in:
Elian Doran
2026-03-23 19:26:26 +02:00
parent 2a1c165a54
commit 4dbaadf9cc

View File

@@ -7,7 +7,7 @@ async function main() {
const bodyWrapper = document.createElement("div");
render(<App />, bodyWrapper);
document.body.appendChild(bodyWrapper);
document.body.replaceChildren(bodyWrapper);
}
function App() {