Skip to content

Commit

Permalink
fix(actions): 🐛 fix send isFirstRendering to onLocationChanged action (
Browse files Browse the repository at this point in the history
…#264)

meta: issue #259
  • Loading branch information
AlexeyAbretov authored and supasate committed Mar 5, 2019
1 parent 80c8d32 commit 0d256a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ConnectedRouter.js
Expand Up @@ -99,7 +99,7 @@ const createConnectedRouter = (structure) => {
}

const mapDispatchToProps = dispatch => ({
onLocationChanged: (location, action) => dispatch(onLocationChanged(location, action))
onLocationChanged: (location, action, isFirstRendering) => dispatch(onLocationChanged(location, action, isFirstRendering))
})

const ConnectedRouterWithContext = props => {
Expand Down

0 comments on commit 0d256a9

Please sign in to comment.