Ignore "isMounted" warning

This commit is contained in:
Julia Friesel
2018-06-08 19:49:51 +02:00
parent 7852123d77
commit 5243dec09f
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -5,6 +5,10 @@ import Datepicker from './datepicker'
import DayView from './day-view'
import Bleeding from './bleeding'
// this is until react native fixes this bug, see https://github.com/facebook/react-native/issues/18868#issuecomment-382671739
import { YellowBox } from 'react-native'
YellowBox.ignoreWarnings(['Warning: isMounted(...) is deprecated'])
export default createStackNavigator({
home: { screen: Home },
temperatureList: { screen: TemperatureList },