Skip to content

Commit

Permalink
fixed immutable
Browse files Browse the repository at this point in the history
  • Loading branch information
foodforarabbit authored and supasate committed Jan 6, 2019
1 parent 0a04c1e commit e00edd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reducer.js
Expand Up @@ -23,7 +23,7 @@ const createConnectRouter = (structure) => {
// to prevent the double-rendering issue on initilization
return isFirstRendering
? state
: merge(state, { location, action })
: merge(state, { location: fromJS(location), action })
}

return state
Expand Down

0 comments on commit e00edd2

Please sign in to comment.