Skip to content

Commit

Permalink
Fix history (#1666)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinbodnar committed May 12, 2021
1 parent d5c7a6f commit 57c5d74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
2 changes: 1 addition & 1 deletion src/redux/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const persistConfig = {
storage,
}

const history = createBrowserHistory()
export const history = createBrowserHistory()

const persistedReducer = persistReducer(persistConfig, createRootReducer(history))

Expand Down

0 comments on commit 57c5d74

Please sign in to comment.