From d83f3c1b284ca32b2f532ece599b4dd512101d77 Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Thu, 3 Jan 2019 14:11:55 +0100 Subject: [PATCH] Fixed flow --- src/flowtype/npm/connected-react-router.js | 1 - src/reducers/index.js | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/flowtype/npm/connected-react-router.js b/src/flowtype/npm/connected-react-router.js index 6fbbffda..44b48659 100644 --- a/src/flowtype/npm/connected-react-router.js +++ b/src/flowtype/npm/connected-react-router.js @@ -20,7 +20,6 @@ declare module 'connected-react-router' { declare export type RouterAction = { type: typeof LOCATION_CHANGE, payload: { - action: string, location: Location, }, } diff --git a/src/reducers/index.js b/src/reducers/index.js index 00181970..2e10d00a 100644 --- a/src/reducers/index.js +++ b/src/reducers/index.js @@ -46,7 +46,9 @@ const reducers = { blockchain, signVerify, router: () => ({ - location: {}, hash: {}, state: {}, network: {}, + location: { + pathname: '', hash: '', search: '', state: {}, + }, }: State), };