Skip to content

Commit

Permalink
Merge branch 'description-sandbox' of https://github.com/GenerateNU/sac
Browse files Browse the repository at this point in the history
… into description-sandbox
  • Loading branch information
Alder Whiteford authored and Alder Whiteford committed Apr 30, 2024
2 parents 3c4d9e7 + fda42f1 commit da5b4c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/dashboard/src/store/StoreProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ import { AppStore, makeStore } from "./store";
import { Provider } from "react-redux";

type StoreProviderProps = {
children: React.ReactNode;
children: React.ReactNode;
}

/**
* The Redux store provider component. This makes the store accessible globally across the repository
*/
export default function StoreProvider({ children }: StoreProviderProps) {
const storeRef = useRef<AppStore>();
const storeRef = useRef<AppStore>();

// Instantiate store singleton:
if (!storeRef.current) {
Expand Down

0 comments on commit da5b4c9

Please sign in to comment.