diff --git a/apps/client/src/setup.tsx b/apps/client/src/setup.tsx index 8b021527ad..86dda27f99 100644 --- a/apps/client/src/setup.tsx +++ b/apps/client/src/setup.tsx @@ -7,7 +7,7 @@ async function main() { const bodyWrapper = document.createElement("div"); render(, bodyWrapper); - document.body.appendChild(bodyWrapper); + document.body.replaceChildren(bodyWrapper); } function App() {