Enable redux devtools extension (#1565)

This commit is contained in:
Erik Michelson 2021-10-16 22:41:49 +02:00 committed by GitHub
parent ab9bde9aca
commit fc3a3fa1a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,7 @@ import { HistoryEntry } from './history/types'
import { HistoryReducer } from './history/reducers'
import { RendererStatusReducer } from './renderer-status/reducers'
import { RendererStatus } from './renderer-status/types'
import { composeWithDevTools } from 'redux-devtools-extension/developmentOnly'
export interface ApplicationState {
user: OptionalUserState
@ -52,4 +53,4 @@ export const allReducers: Reducer<ApplicationState> = combineReducers<Applicatio
rendererStatus: RendererStatusReducer
})
export const store = createStore(allReducers)
export const store = createStore(allReducers, composeWithDevTools())