Make bleeding view into a child component
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
import { createStackNavigator } from 'react-navigation'
|
||||
import Home from './home'
|
||||
|
||||
import Temperature from './temperature'
|
||||
import Calendar from './calendar'
|
||||
import DayView from './day-view'
|
||||
import Bleeding from './bleeding'
|
||||
import Day from './day'
|
||||
|
||||
// this is until react native fixes this bug, see https://github.com/facebook/react-native/issues/18868#issuecomment-382671739
|
||||
import { YellowBox } from 'react-native'
|
||||
@@ -12,9 +10,6 @@ YellowBox.ignoreWarnings(['Warning: isMounted(...) is deprecated'])
|
||||
|
||||
export default createStackNavigator({
|
||||
home: { screen: Home },
|
||||
|
||||
temperature: { screen: Temperature },
|
||||
calendar: { screen: Calendar },
|
||||
dayView: { screen: DayView },
|
||||
bleeding: { screen: Bleeding }
|
||||
day: { screen: Day }
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user