zcash-grant-system/frontend/client/modules/auth/persistence.ts

10 lines
246 B
TypeScript

import { PersistConfig } from 'redux-persist';
import storage from 'redux-persist/lib/storage';
export const authPersistConfig: PersistConfig = {
key: 'auth',
storage,
version: 1,
whitelist: ['authSignature', 'authSignatureAddress'],
};