diff --git a/src/GlobalStateStore/GlobalStateStoreWrapper.tsx b/src/GlobalStateStore/GlobalStateStoreWrapper.tsx index 528cfed..aae306b 100644 --- a/src/GlobalStateStore/GlobalStateStoreWrapper.tsx +++ b/src/GlobalStateStore/GlobalStateStoreWrapper.tsx @@ -25,9 +25,9 @@ interface GlobalStateStoreProviderProps { autoFetch?: boolean; children: ReactNode; fetchOnMount?: boolean; - onFetchSession?: (state: GlobalState) => Promise>; - onLogin?: (state: GlobalState) => Promise; - onLogout?: (state: GlobalState) => Promise; + onFetchSession?: (state: Partial) => Promise>; + onLogin?: (state: Partial) => Promise>; + onLogout?: (state: Partial) => Promise>; program?: Partial; throttleMs?: number; }