From 87a2493956b9f5763da128c98a7da6fe38df403e Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Fri, 8 Dec 2017 17:06:47 +0000 Subject: [PATCH] Fix crash on new devices. --- src/store.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,