From b521d04cd0cb84daf0f139c870edbc21f4475f3c Mon Sep 17 00:00:00 2001 From: Hein Date: Sat, 7 Feb 2026 21:31:16 +0200 Subject: [PATCH] refactor(GlobalStateStoreProvider): update type definitions for session handlers --- src/GlobalStateStore/GlobalStateStoreWrapper.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }