From 0031a722031c4e6cf5aef39dff112f7f6a4a705b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikolai=20R=C3=B8ed=20Kristiansen?= Date: Mon, 18 Sep 2023 23:41:42 +0200 Subject: [PATCH] chore: Ignore warning --- src/App.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/App.js b/src/App.js index 8bb6c0c..05241a1 100644 --- a/src/App.js +++ b/src/App.js @@ -3,6 +3,8 @@ import { Provider } from 'react-redux'; import { PersistGate } from 'redux-persist/integration/react'; import { ApolloClient, HttpLink, InMemoryCache, ApolloProvider } from '@apollo/client'; import { StripeProvider } from '@stripe/stripe-react-native'; +import { LogBox } from 'react-native'; + import Dusken from './Dusken'; import { store, persistor } from './reduxStore'; @@ -11,6 +13,8 @@ const apolloClient = new ApolloClient({ link: new HttpLink({ uri: `${process.env.EXPO_PUBLIC_DUSKEN_API_URL}/api/graphql/` }), cache: new InMemoryCache(), }); +// FIXME: Replace unmaintained native-base with https://wix.github.io/react-native-ui-lib/ which produces this warning +LogBox.ignoreLogs(['In React 18, SSRProvider is not necessary and is a noop. You can remove it from your app.']) export default function App() { return (