diff --git a/components/app.js b/components/app.js index 4cc978d..94472a1 100644 --- a/components/app.js +++ b/components/app.js @@ -60,6 +60,12 @@ export default class App extends Component {
} + {isSymptomView(this.state.currentPage) && +
} {React.createElement(page, { navigate: this.navigate, diff --git a/components/cycle-day/symptoms/bleeding.js b/components/cycle-day/symptoms/bleeding.js index 94125cf..3c88ec5 100644 --- a/components/cycle-day/symptoms/bleeding.js +++ b/components/cycle-day/symptoms/bleeding.js @@ -10,7 +10,6 @@ import { bleeding as labels } from '../labels/labels' import ActionButtonFooter from './action-button-footer' import SelectTabGroup from '../select-tab-group' import SymptomSection from './symptom-section' -import Header from '../../header' export default class Bleeding extends Component { constructor(props) { @@ -32,15 +31,6 @@ export default class Bleeding extends Component { ] return ( -
this.props.navigate('CycleDay', this.props.cycleDay)} - cycleDayNumber={this.props.cycleDayNumber} - date={this.props.cycleDay.date} - infoTitle={'Info here'} - infoText={'bla bla'} - /> @@ -45,9 +44,6 @@ export default class Header extends Component { {this.props.title} - - {formatDateForViewHeader(this.props.date)} -