Revize 4f42fa52
Přidáno uživatelem Václav Honzík před asi 2 roky(ů)
frontend/src/features/redux/store.ts | ||
---|---|---|
5 | 5 |
import themeReducer from '../Theme/themeSlice' |
6 | 6 |
import catalogReducer from '../Catalog/catalogSlice' |
7 | 7 |
import { composeWithDevTools } from 'redux-devtools-extension' |
8 |
import notificationReducer from '../Notification/notificationSlice' |
|
8 | 9 |
|
9 | 10 |
const composeEnhancers = composeWithDevTools({}) |
10 | 11 |
|
... | ... | |
14 | 15 |
user: userReducer, |
15 | 16 |
theme: themeReducer, |
16 | 17 |
catalog: catalogReducer, |
18 |
notification: notificationReducer |
|
17 | 19 |
}), |
18 | 20 |
process.env.REACT_APP_DEV_ENV === 'true' |
19 | 21 |
? composeEnhancers( // ComposeEnhancers will inject redux-devtools-extension |
Také k dispozici: Unified diff
Login dialog + slice for notifications
re #9628