Skip to content

Commit

Permalink
fix(store): only persist and restore user store
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonGolms committed Mar 26, 2021
1 parent dd2b95d commit 07f80c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/store.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const persistConfig = {
key: 'root',
storage: createCapacitorStorage(),
version: 1,
whitelist: ['user'],
};

const persistedReducer = persistReducer(persistConfig, createRootReducer());
Expand Down

0 comments on commit 07f80c7

Please sign in to comment.