text: import AsyncStorage from '@react-native-community/async-storage';
  import { persistReducer } from 'redux-persist';
  
  export default (reducers) => {
    const persistedReducer = persistReducer(
      {
        key: 'fastfeet-mobile',
        storage: AsyncStorage,
        whitelist: ['auth', 'user'],
      },
      reducers
    );
  
    return persistedReducer;
  };
  