Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 0d90d67b

Přidáno uživatelem Václav Honzík před asi 2 roky(ů)

map dialogs + catalog filter fix

re #9547 #9545

Zobrazit rozdíly:

frontend/src/features/redux/store.ts
2 2
import { persistStore } from 'redux-persist'
3 3
import thunk from 'redux-thunk'
4 4
import userReducer from '../Auth/userSlice'
5
import themeReducer from '../Theme/themeReducer'
5
import themeReducer from '../Theme/themeSlice'
6 6
import catalogReducer from '../Catalog/catalogSlice'
7 7
import { composeWithDevTools } from 'redux-devtools-extension'
8 8

  
......
16 16
        catalog: catalogReducer,
17 17
    }),
18 18
    process.env.REACT_APP_DEV_ENV === 'true'
19
        ? composeEnhancers(
19
        ? composeEnhancers( // ComposeEnhancers will inject redux-devtools-extension
20 20
              applyMiddleware(thunk) // Thunk middleware so we can async fetch data from the api
21 21
          )
22 22
        : applyMiddleware(thunk)

Také k dispozici: Unified diff