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), };