Skip to content
This repository was archived by the owner on Nov 23, 2022. It is now read-only.

Commit fc3a3fa

Browse files
Enable redux devtools extension (#1565)
1 parent ab9bde9 commit fc3a3fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/redux/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import { HistoryEntry } from './history/types'
2525
import { HistoryReducer } from './history/reducers'
2626
import { RendererStatusReducer } from './renderer-status/reducers'
2727
import { RendererStatus } from './renderer-status/types'
28+
import { composeWithDevTools } from 'redux-devtools-extension/developmentOnly'
2829

2930
export interface ApplicationState {
3031
user: OptionalUserState
@@ -52,4 +53,4 @@ export const allReducers: Reducer<ApplicationState> = combineReducers<Applicatio
5253
rendererStatus: RendererStatusReducer
5354
})
5455

55-
export const store = createStore(allReducers)
56+
export const store = createStore(allReducers, composeWithDevTools())

0 commit comments

Comments
 (0)