Skip to content

Commit

Permalink
refactor(App.tsx): ignore ViewPropTypes warning
Browse files Browse the repository at this point in the history
The 'ViewPropTypes' is not being used directly in this application, it's coming
from some lib. So, it could be safely ignored
ref: facebook/react-native#33557
  • Loading branch information
rrosatti committed Apr 17, 2022
1 parent a15f512 commit bfc99d9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions App.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
import React from 'react';
import { LogBox } from 'react-native';

import Navigation from 'navigation';

import GraphQLContext from 'context/graphql';

// The 'ViewPropTypes' is not being used directly in this application,
// it's coming from some lib. So, it could be safely ignored
// ref: https://github.com/facebook/react-native/issues/33557
LogBox.ignoreLogs(['ViewPropTypes will be removed']);

const App = (): JSX.Element => {
return (
<GraphQLContext.Provider>
Expand Down

0 comments on commit bfc99d9

Please sign in to comment.