diff --git a/components/app.js b/components/app.js index 6954e777eba72f55c2466a6b12e4525792d8aee8..8fcfb624f1cf9733239104e6559c7a33c96609c5 100644 --- a/components/app.js +++ b/components/app.js @@ -56,7 +56,8 @@ export default class App extends Component { if (this.state.currentPage === 'Home') return false if (isSymptomView(this.state.currentPage)) { this.navigate( - this.originForSymptomView, { cycleDay: this.state.currentProps.cycleDay } + this.originForSymptomView, + { cycleDay: this.state.currentProps.cycleDay } ) } else if(this.state.currentPage === 'CycleDay') { this.navigate(this.menuOrigin) diff --git a/components/menu.js b/components/menu.js index c70b166ba7022f2a7ed3014747a7403385ce3689..4e80cbbc79552689f066ed786b3df1ec0516d87a 100644 --- a/components/menu.js +++ b/components/menu.js @@ -9,7 +9,8 @@ import Icon from 'react-native-vector-icons/MaterialCommunityIcons' export default class Menu extends Component { makeMenuItem = ({ title, icon, onPress}, i) => { - const styleActive = (this.props.currentPage.toLowerCase() === title) ? {color: secondaryColor} : {} + const styleActive = (this.props.currentPage.toLowerCase() === title) ? + {color: secondaryColor} : {} return ( <TouchableOpacity onPress={onPress}