diff --git a/src/Features/Redux/Store/Store.tsx b/src/Features/Redux/Store/Store.tsx new file mode 100644 index 0000000..494bd81 --- /dev/null +++ b/src/Features/Redux/Store/Store.tsx @@ -0,0 +1,5 @@ +import { configureStore } from "@reduxjs/toolkit"; + +export default configureStore({ + reducer: {}, +}); diff --git a/src/index.tsx b/src/index.tsx index 969107b..3cc0b28 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -10,6 +10,9 @@ import Login from "./Routes/Login/Login"; import { QueryClient, QueryClientProvider } from "react-query"; +import { Provider } from "react-redux"; +import Store from "./Features/Redux/Store/Store"; + const queryClient = new QueryClient(); const router = createBrowserRouter([ @@ -33,9 +36,11 @@ const root = ReactDOM.createRoot( root.render( - - - + + + + + );