From ef54d0501a4f5ecb650943a754b07081a82e4e05 Mon Sep 17 00:00:00 2001 From: marcinbodnardesktop Date: Wed, 12 May 2021 22:13:48 +0200 Subject: [PATCH] Fix history (#1666) --- src/index.js | 1 + src/redux/store.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 428dd73d97..8a0d3711d6 100644 --- a/src/index.js +++ b/src/index.js @@ -6,6 +6,7 @@ import ReactDOM from 'react-dom' import { initSentry } from './utils/sentry' import Routing from './components/Routing' import StoreConfiguration from './redux/store' +import { history } from './redux/store' initSentry(); diff --git a/src/redux/store.js b/src/redux/store.js index 3f148f6e02..bf930609f0 100644 --- a/src/redux/store.js +++ b/src/redux/store.js @@ -16,7 +16,7 @@ const persistConfig = { storage, } -const history = createBrowserHistory() +export const history = createBrowserHistory() const persistedReducer = persistReducer(persistConfig, createRootReducer(history))