This commit is contained in:
Nouman Tahir 2022-10-17 13:11:23 +05:00
parent ef9756cb2f
commit c8e8c456a8

View File

@ -1,14 +1,13 @@
import AsyncStorage from '@react-native-async-storage/async-storage' import AsyncStorage from '@react-native-async-storage/async-storage';
import Reactotron from 'reactotron-react-native' import Reactotron from 'reactotron-react-native';
import { reactotronRedux } from 'reactotron-redux' import { reactotronRedux } from 'reactotron-redux';
const reactotron = Reactotron const reactotron = Reactotron.setAsyncStorageHandler(AsyncStorage) // AsyncStorage would either come from `react-native` or `@react-native-community/async-storage` depending on where you get it from
.setAsyncStorageHandler(AsyncStorage) // AsyncStorage would either come from `react-native` or `@react-native-community/async-storage` depending on where you get it from
.configure({ .configure({
name: "Ecency" name: 'Ecency',
}) })
.useReactNative() // add all built-in react native plugins .useReactNative() // add all built-in react native plugins
.use(reactotronRedux()) .use(reactotronRedux())
.connect() // let's connect! .connect(); // let's connect!
export default reactotron; export default reactotron;