Gets rid of a top level prop passed down through a tree of components
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user