Fix crash on new devices.

master
Tom Hacohen 7 years ago
parent 63a1b0286b
commit 87a2493956

@ -41,7 +41,7 @@ export interface StoreState {
};
}
function fetchTypeIdentityReducer(state: FetchType<any>, action: any, extend: boolean = false) {
function fetchTypeIdentityReducer(state: FetchType<any> = {value: null}, action: any, extend: boolean = false) {
if (action.error) {
return {
value: null,

Loading…
Cancel
Save