From 4b5aa16e7f0ffedee5073da7701d285299275693 Mon Sep 17 00:00:00 2001 From: Alder Whiteford Date: Sun, 28 Apr 2024 11:53:21 -0400 Subject: [PATCH 1/2] Update frontend/dashboard/src/store/StoreProvider.tsx --- frontend/dashboard/src/store/StoreProvider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/dashboard/src/store/StoreProvider.tsx b/frontend/dashboard/src/store/StoreProvider.tsx index 4df053193..945bf2b2c 100644 --- a/frontend/dashboard/src/store/StoreProvider.tsx +++ b/frontend/dashboard/src/store/StoreProvider.tsx @@ -12,7 +12,7 @@ type StoreProviderProps = { * The Redux store provider component. This makes the store accessible globally across the repository */ export default function StoreProvider({ children }: StoreProviderProps) { - const storeRef = useRef(); + const storeRef = useRef(); // Instantiate store singleton: if (!storeRef.current) { From fda42f16d51b0e97027264a1e052ba8dfdff4a90 Mon Sep 17 00:00:00 2001 From: Alder Whiteford Date: Sun, 28 Apr 2024 11:53:42 -0400 Subject: [PATCH 2/2] Update frontend/dashboard/src/store/StoreProvider.tsx --- frontend/dashboard/src/store/StoreProvider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/dashboard/src/store/StoreProvider.tsx b/frontend/dashboard/src/store/StoreProvider.tsx index 945bf2b2c..f1df00172 100644 --- a/frontend/dashboard/src/store/StoreProvider.tsx +++ b/frontend/dashboard/src/store/StoreProvider.tsx @@ -5,7 +5,7 @@ import { AppStore, makeStore } from "./store"; import { Provider } from "react-redux"; type StoreProviderProps = { - children: React.ReactNode; + children: React.ReactNode; } /**