Gets rid of a top level prop passed down through a tree of components

This commit is contained in:
Sofiya Tepikin
2020-03-01 14:29:29 +01:00
parent 346d7e6dad
commit aab64a433f
12 changed files with 14 additions and 26 deletions
-2
View File
@@ -15,7 +15,6 @@ class Mucus extends Component {
static propTypes = {
cycleDay: PropTypes.object,
handleBackButtonPress: PropTypes.func,
date: PropTypes.string.isRequired,
}
@@ -63,7 +62,6 @@ class Mucus extends Component {
<SymptomView
symptom={this.symptom}
values={this.state}
handleBackButtonPress={this.props.handleBackButtonPress}
date={this.props.date}
>
<SymptomSection