Skip to content

Commit 2281a94

Browse files
update types
1 parent a2f20ad commit 2281a94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/redux/reducer.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ import {
2727
UserManagerInstanceAction,
2828
} from './actions';
2929
import {
30+
AuthenticationActions,
3031
AuthenticationRouterErrorAction,
3132
AuthenticationRouterErrorState,
32-
CommonActions,
3333
CommonStoreState,
3434
GsLang,
3535
GsLangUser,
@@ -58,7 +58,7 @@ export type AppState = CommonStoreState & {
5858
[PARAM_LANGUAGE]: GsLang;
5959

6060
userManager: UserManagerState;
61-
signInCallbackError: string | null;
61+
signInCallbackError: Error | null;
6262
authenticationRouterError: AuthenticationRouterErrorState | null;
6363
showAuthenticationRouterLogin: boolean;
6464
};
@@ -81,7 +81,7 @@ const initialState: AppState = {
8181
};
8282

8383
export type Actions =
84-
| CommonActions
84+
| AuthenticationActions
8585
| UserManagerAction
8686
| UserManagerInstanceAction
8787
| UserManagerErrorAction

0 commit comments

Comments
 (0)