chore: Replace async-storage package

This commit is contained in:
Lei Nelissen
2022-06-12 21:51:20 +02:00
parent f39ab85624
commit 6c7b320ae8
4 changed files with 60 additions and 983 deletions

View File

@@ -1,6 +1,6 @@
import { configureStore, getDefaultMiddleware, combineReducers } from '@reduxjs/toolkit';
import { useSelector, TypedUseSelectorHook, useDispatch } from 'react-redux';
import AsyncStorage from '@react-native-community/async-storage';
import AsyncStorage from '@react-native-async-storage/async-storage';
import { persistStore, persistReducer, PersistConfig, createMigrate } from 'redux-persist';
import autoMergeLevel2 from 'redux-persist/es/stateReconciler/autoMergeLevel2';

View File

@@ -1,5 +1,5 @@
import { SENTRY_DSN } from '@env';
import AsyncStorage from '@react-native-community/async-storage';
import AsyncStorage from '@react-native-async-storage/async-storage';
import * as Sentry from '@sentry/react-native';
const SENTRY_ASYNC__ITEM_STRING = 'sentry_enabled';