This is my index.js file:
import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
<React.StrictMode>
<App />
</React.StrictMode>
);
This is the Error i'm getting upon running code:
ERROR in src\index.js
Line 8:12: 'CssBaseline' is not defined react/jsx-no-undef
Search for the keywords to learn more about each error.
webpack compiled with 1 error and 1 warning