Added StrictMode

This commit is contained in:
RailTH
2024-05-18 23:06:33 +11:00
parent 5643474575
commit 9519f45c5f
2 changed files with 4 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,5 @@
import React from 'react';
import { StrictMode } from 'react';
import ReactDOM from 'react-dom/client';
import { BrowserRouter } from 'react-router-dom';
import './index.scss';
@@ -7,9 +8,9 @@ import App from './App';
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement);
root.render(
<React.StrictMode>
<StrictMode>
<BrowserRouter>
<App />
</BrowserRouter>
</React.StrictMode>
</StrictMode>
);