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