Hide warnings caused by React Native (#2202)
This commit is contained in:
parent
b594d58572
commit
8a2049f2ab
1 changed files with 4 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ import {
|
|||
Keyboard,
|
||||
NativeModules,
|
||||
Platform,
|
||||
YellowBox,
|
||||
} from 'react-native';
|
||||
const {StatusBarManager, MattermostShare, Initialization} = NativeModules;
|
||||
|
||||
|
|
@ -53,6 +54,9 @@ import './fetch_preconfig';
|
|||
|
||||
const AUTHENTICATION_TIMEOUT = 5 * 60 * 1000;
|
||||
|
||||
// Hide warnings caused by React Native (https://github.com/facebook/react-native/issues/20841)
|
||||
YellowBox.ignoreWarnings(['Require cycle: node_modules/react-native/Libraries/Network/fetch.js']);
|
||||
|
||||
export const app = new App();
|
||||
export const store = configureStore(initialState);
|
||||
registerScreens(store, Provider);
|
||||
|
|
|
|||
Loading…
Reference in a new issue