Skip to content

Commit bd19126

Browse files
fix: add React import to all components)
import React, { StrictMode } from 'react'; import { createRoot } from 'react-dom/client'; import './index.css'; import App from './App.jsx'; createRoot(document.getElementById('root')).render( <StrictMode> <App /> </StrictMode>, );
1 parent 0d3ac0a commit bd19126

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { StrictMode } from 'react';
1+
import React, { StrictMode } from 'react';
22
import { createRoot } from 'react-dom/client';
33
import './index.css';
44
import App from './App.jsx';

0 commit comments

Comments
 (0)