CleverProgrammers / cp-disney-plus-clone

Here's the DEMO Disney+ Clone App
https://disney-clone-d1e27.web.app
340 stars 267 forks source link

Uncaught TypeError: Cannot read properties of undefined (reading 'getState') #17

Open Jalina-wickrama opened 2 years ago

Jalina-wickrama commented 2 years ago

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(

);`