diff --git a/templates/ReduxPersist.js b/templates/ReduxPersist.js index c0c09b9..dd63f00 100644 --- a/templates/ReduxPersist.js +++ b/templates/ReduxPersist.js @@ -1,5 +1,5 @@ import immutablePersistenceTransform from '../Services/ImmutablePersistenceTransform' -import { AsyncStorage } from 'react-native' +import AsyncStorage from '@react-native-community/async-storage' // More info here: https://shift.infinite.red/shipping-persistant-reducers-7341691232b1 const REDUX_PERSIST = { diff --git a/templates/Rehydration.js b/templates/Rehydration.js index b1ede81..437c3cb 100644 --- a/templates/Rehydration.js +++ b/templates/Rehydration.js @@ -1,5 +1,5 @@ import ReduxPersist from '../Config/ReduxPersist' -import { AsyncStorage } from 'react-native' +import AsyncStorage from '@react-native-community/async-storage' import { persistStore } from 'redux-persist' import StartupActions from '../Redux/StartupRedux' import DebugConfig from '../Config/DebugConfig'