text: import {combineReducers} from 'redux'
  import userReducer from './user-reducer'
  import cartReducer from './cart-reducer'
  import {persistReducer} from 'redux-persist'
  import storage from 'redux-persist/lib/storage'
  import directoryRecucer from './directory/directory-reducer'
  import petsReducer from './pets/pets-reducer'
  
  const persistConfig = {
    key: 'root',
    storage,
    whitelist: ['cart']
  }
  
  const rootReducer = combineReducers({
    user: userReducer,
    cart: cartReducer,
    directory: directoryRecucer,
    pets: petsReducer
  })
  
  export default persistReducer(persistConfig, rootReducer)
  