diff --git a/src/index.tsx b/src/index.tsx index 42b3f4f8..bef7c1ef 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -5,7 +5,7 @@ import { App } from 'App/App'; const rootElement = document.getElementById('root'); -if (!rootElement) throw new Error('Failed to find the root element.'); +if (!rootElement) throw new Error('Failed to get the root element.'); const root = createRoot(rootElement);