add load simulation

This commit is contained in:
b1ek 2023-03-10 17:26:44 +10:00
parent b9b0a63ae3
commit d46d7e28b7
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,9 @@
import { createRoot } from "react-dom/client";
import { Base } from './Base';
setTimeout(() => {
document.getElementById('resume_js_app').innerHTML = '';
const container = document.getElementById("resume_js_app");
const root = createRoot(container)
root.render(<Base />);
}, (Math.random() * 200) + 500)