mirror of
https://github.com/zadam/trilium.git
synced 2026-06-18 19:32:05 +02:00
chore(standalone/setup): replace properly for hot reload
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user