From a5f400fa7ad472099f224c4df632206bd1627844 Mon Sep 17 00:00:00 2001 From: Peter Uithoven Date: Thu, 29 Oct 2015 16:14:42 +0100 Subject: [PATCH] Fix getting persist session id from url --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);