diff options
author | 2024-07-09 20:21:06 +0100 | |
---|---|---|
committer | 2024-07-10 01:56:38 +0100 | |
commit | a735211aec6c8343868aa250d727e13e68072fb2 (patch) | |
tree | 12bc78133675aa26a17068d9766c939695149fdf | |
parent | Add new redux stores and slices for authorization state (diff) |
Wrap application in Redux Provider with new store
-rw-r--r-- | src/index.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/index.tsx b/src/index.tsx index 10e8c91..a7fdd2a 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -5,6 +5,9 @@ import { createRoot } from "react-dom/client"; import App from "./App"; import * as serviceWorker from "./serviceWorker"; +import formsStore from "./store"; +import { Provider } from "react-redux"; + import * as Sentry from "@sentry/react"; import { @@ -71,7 +74,9 @@ root.render( console.log(err); }} > - <App/> + <Provider store={formsStore}> + <App/> + </Provider> </Sentry.ErrorBoundary> </React.StrictMode> ); |