From 6549b3dc1604069365a4c0b53c7c054b065e8103 Mon Sep 17 00:00:00 2001 From: Tristan Chuine Date: Wed, 10 Jul 2024 13:46:20 +0200 Subject: [PATCH] update types --- src/redux/reducer.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/redux/reducer.ts b/src/redux/reducer.ts index e6f54e5..be19e4b 100644 --- a/src/redux/reducer.ts +++ b/src/redux/reducer.ts @@ -20,9 +20,9 @@ import { ThemeAction, } from './actions'; import { + AuthenticationActions, AuthenticationRouterErrorAction, AuthenticationRouterErrorState, - CommonActions, CommonStoreState, GsLang, GsLangUser, @@ -49,7 +49,7 @@ export type AppState = CommonStoreState & { [PARAM_THEME]: GsTheme; [PARAM_LANGUAGE]: GsLang; - signInCallbackError: string | null; + signInCallbackError: Error | null; authenticationRouterError: AuthenticationRouterErrorState | null; showAuthenticationRouterLogin: boolean; }; @@ -68,7 +68,7 @@ const initialState: AppState = { }; export type Actions = - | CommonActions + | AuthenticationActions | ThemeAction | LanguageAction | ComputedLanguageAction;