Skip to content

Commit 4bcee46

Browse files
machourHoussein Djirdeh
authored andcommitted
feat(store): blacklist everything but auth from persistent storage (#661)
* feat(store): blacklist everything but auth from persistent storage * refactor: Use whitelist instead of blacklist
1 parent ebfb02c commit 4bcee46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class App extends Component {
6161
{
6262
storage: AsyncStorage,
6363
transforms: [encryptor],
64-
blacklist: ['user'],
64+
whitelist: ['auth'],
6565
},
6666
() => {
6767
this.setState({ rehydrated: true });

0 commit comments

Comments
 (0)