Skip to content

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

@Jalina-wickrama

Description

@Jalina-wickrama

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>
);`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions