diff --git a/components/app.js b/components/app.js index 6954e77..8fcfb62 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 c70b166..4e80cbb 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 (