diff --git a/src/main.tsx b/src/main.tsx index b73d271..22e1782 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -8,10 +8,12 @@ import { store } from "./store"; import "./index.css"; const root = document.getElementById('root'); -createRoot(root).render( - - - - - -); +if (root) { + createRoot(root).render( + + + + + + ); +}