diff options
Diffstat (limited to 'src/index.js')
| -rw-r--r-- | src/index.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/index.js b/src/index.js index 30091ec..07ea073 100644 --- a/src/index.js +++ b/src/index.js | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | import React from 'react'; | 1 | import React from 'react'; |
| 2 | import ReactDOM from 'react-dom'; | 2 | import { createRoot } from 'react-dom/client'; |
| 3 | import App from './App'; | 3 | import App from './App'; |
| 4 | import './i18n'; | 4 | import './i18n'; |
| 5 | 5 | ||
| 6 | ReactDOM.render( | 6 | const root = createRoot(document.getElementById('root')); |
| 7 | root.render( | ||
| 7 | <React.StrictMode> | 8 | <React.StrictMode> |
| 8 | <App /> | 9 | <App /> |
| 9 | </React.StrictMode>, | 10 | </React.StrictMode> |
| 10 | document.getElementById('root') | ||
| 11 | ); | 11 | ); |
