Skip to content

Commit

Permalink
refactor: update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
adamalston committed Dec 8, 2023
1 parent 247e19c commit ee2b7c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit ee2b7c2

Please sign in to comment.