diff --git a/src/store.tsx b/src/store.tsx index ea84335..6ab10ec 100644 --- a/src/store.tsx +++ b/src/store.tsx @@ -41,7 +41,7 @@ export interface StoreState { }; } -function fetchTypeIdentityReducer(state: FetchType, action: any, extend: boolean = false) { +function fetchTypeIdentityReducer(state: FetchType = {value: null}, action: any, extend: boolean = false) { if (action.error) { return { value: null,