From 2e9d75e1e391f9b7d6a60a84f42c64a6a08218bf Mon Sep 17 00:00:00 2001 From: Nikolay Date: Sat, 10 Sep 2016 08:01:03 +0300 Subject: [PATCH] Fixes `store` being `undefined` in `onEnter` hooks Fixes #32 Fixes Pull Request #62 --- src/client.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client.js b/src/client.js index b8981ba..c857159 100644 --- a/src/client.js +++ b/src/client.js @@ -47,6 +47,6 @@ function historySynchronization(next) { export default compose( useDefaults, - routeReplacement, - historySynchronization + historySynchronization, + routeReplacement )(reduxReactRouter);