diff --git a/README.md b/README.md index ad6f078f..a698403e 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ const finalCreateStore = compose( // Provides support for DevTools: devTools(), // Lets you write ?debug_session= in address bar to persist debug sessions - persistState(window.location.href.match(/[?&]debug_session=([^&]+)\b/)) + persistState(window.location.href.match(/[?&]debug_session=([^&]+)\b/)[1]) )(createStore); const store = finalCreateStore(reducer);