🐛 Make react-native-config work again
This commit is contained in:
1 parent
730ebfe966
commit
88bfb047f9
5 files changed
+10
-15
No files matched your search
+5
-5
@@ -1,15 +1,15 @@
|
||||
import React from 'react';
|
||||
import {Provider} from 'react-redux';
|
||||
import {PersistGate} from 'redux-persist/integration/react';
|
||||
import { Provider } from 'react-redux';
|
||||
import { PersistGate } from 'redux-persist/integration/react';
|
||||
import Config from 'react-native-config';
|
||||
import {ApolloClient, HttpLink, InMemoryCache, ApolloProvider} from '@apollo/client';
|
||||
import { ApolloClient, HttpLink, InMemoryCache, ApolloProvider } from '@apollo/client';
|
||||
// import { StripeProvider } from '@stripe/stripe-react-native';
|
||||
|
||||
import Dusken from './Dusken';
|
||||
import {store, persistor} from './reduxStore';
|
||||
import { store, persistor } from './reduxStore';
|
||||
|
||||
const apolloClient = new ApolloClient({
|
||||
link: new HttpLink({uri: `${Config.DUSKEN_API_URL}/api/graphql/`}),
|
||||
link: new HttpLink({ uri: `${Config.DUSKEN_API_URL}/api/graphql/` }),
|
||||
cache: new InMemoryCache(),
|
||||
});
|
||||
|
||||
|
||||
@@ -145,7 +145,6 @@ const Proof = ({ onLogoutPress, user, fetchUser, isFetchingUserData }) => {
|
||||
};
|
||||
|
||||
if (!user) {
|
||||
console.log('🔥', user);
|
||||
return (
|
||||
<View>
|
||||
<Text>No user!</Text>
|
||||
|
||||
Reference in new issue
Block a user