Post refactor clean-up

This commit is contained in:
emelko
2018-07-16 12:39:11 +02:00
parent 0da3810aeb
commit 6f755c55dc
6 changed files with 30 additions and 289 deletions
+3 -3
View File
@@ -45,9 +45,9 @@ export default class Day extends Component {
<View>
{
{ dayView: <DayView cycleDay={this.cycleDay} showView={this.showView} />,
bleedingEditView: <BleedingEditView cycleDay={this.cycleDay} showView={this.showView}/>,
temperatureEditView: <TemperatureEditView cycleDay={this.cycleDay} showView={this.showView}/>,
mucusEditView: <MucusEditView cycleDay={this.cycleDay} showView={this.showView}/>
bleedingEditView: <BleedingEditView cycleDay={this.cycleDay} makeActionButtons={this.makeActionButtons}/>,
temperatureEditView: <TemperatureEditView cycleDay={this.cycleDay} makeActionButtons={this.makeActionButtons}/>,
mucusEditView: <MucusEditView cycleDay={this.cycleDay} makeActionButtons={this.makeActionButtons}/>
}[this.state.visibleComponent]
}
</View >