diff --git a/src/index.tsx b/src/index.tsx index 5d5d85b..051716a 100755 --- a/src/index.tsx +++ b/src/index.tsx @@ -7,5 +7,10 @@ import "./index.scss"; const container = document.getElementById("app"); if (container) { const root = createRoot(container); + + window.addEventListener("load", () => { + window.focus(); + }); + root.render(); }