Updated the main.jsx
This commit is contained in:
parent
024ade33ef
commit
adf99551b9
12
src/main.jsx
12
src/main.jsx
@ -3,8 +3,10 @@ import ReactDOM from 'react-dom/client';
|
|||||||
import App from './App';
|
import App from './App';
|
||||||
import './index.css';
|
import './index.css';
|
||||||
|
|
||||||
ReactDOM.createRoot(document.getElementById('root')).render(
|
const root = ReactDOM.createRoot(document.getElementById('root'));
|
||||||
<React.StrictMode>
|
|
||||||
<App />
|
root.render(
|
||||||
</React.StrictMode>
|
<React.StrictMode>
|
||||||
)
|
<App/>
|
||||||
|
</React.StrictMode>
|
||||||
|
);
|
Loading…
x
Reference in New Issue
Block a user