text: import storage from 'redux-persist/lib/storage';
  import { persistReducer } from 'redux-persist';
  
  export default reducers => {
      const persistedReducer = persistReducer(
          {
              key: 'gympoint',
              storage,
              whitelist: ['auth', 'students'],
          },
          reducers
      );
  
      return persistedReducer;
  };
  