From a735211aec6c8343868aa250d727e13e68072fb2 Mon Sep 17 00:00:00 2001
From: Joe Banks <joe@jb3.dev>
Date: Tue, 9 Jul 2024 20:21:06 +0100
Subject: Wrap application in Redux Provider with new store

---
 src/index.tsx | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

(limited to 'src/index.tsx')

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>
 );
-- 
cgit v1.2.3

