mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 17:56:30 -05:00
Enable redux devtools extension (#1565)
This commit is contained in:
parent
ab9bde9aca
commit
fc3a3fa1a9
1 changed files with 2 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue