Znfeoqm commited on
Commit
eb7b734
·
verified ·
1 Parent(s): 2c65de0

Update src/main.jsx

Browse files
Files changed (1) hide show
  1. src/main.jsx +8 -8
src/main.jsx CHANGED
@@ -1,10 +1,10 @@
1
- import { StrictMode } from 'react'
2
- import { createRoot } from 'react-dom/client'
3
- import './index.css'
4
- import App from './App.jsx'
5
 
6
- createRoot(document.getElementById('root')).render(
7
- <StrictMode>
8
  <App />
9
- </StrictMode>,
10
- )
 
1
+ import React from 'react';
2
+ import ReactDOM from 'react-dom/client';
3
+ import App from './App.jsx';
4
+ import './index.css'; // Import the external CSS file
5
 
6
+ ReactDOM.createRoot(document.getElementById('root')).render(
7
+ <React.StrictMode>
8
  <App />
9
+ </React.StrictMode>,
10
+ );