🐛 Make react-native-config work again

This commit is contained in:
nikolark committed 2022-07-31 22:08:05 +02:00
1 parent 730ebfe966
commit 88bfb047f9
5 files changed
+10 -15

No files matched your search

+5 -5
View File
@@ -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(),
});
-1
View File
@@ -145,7 +145,6 @@ const Proof = ({ onLogoutPress, user, fetchUser, isFetchingUserData }) => {
};
if (!user) {
console.log('🔥', user);
return (
<View>
<Text>No user!</Text>