Uncaught TypeError: Cannot read properties of undefined (reading 'getState')
Opened this issue · 0 comments
Jalina-wickrama commented
Here's my code.
`import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';
import store from './app/store';
import { StoreContext } from "./app/context";
import { Provider } from "react-redux";
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
<React.StrictMode>
</React.StrictMode>
);`