Skip to content

Commit

Permalink
remove an unsed ref to dateInput
Browse files Browse the repository at this point in the history
  • Loading branch information
coderpawz committed Jul 27, 2017
1 parent 74da6c4 commit e8c9a7b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Calendar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,6 @@ const Calendar = createReactClass({
showTimePicker: false,
});
},
saveDateInput(dateInput) {
this.dateInputInstance = dateInput;
},
render() {
const props = this.props;
const {
Expand All @@ -230,7 +227,6 @@ const Calendar = createReactClass({
}) : null;
const dateInputElement = props.showDateInput ? (
<DateInput
ref={this.saveDateInput}
format={this.getFormat()}
key="date-input"
value={value}
Expand Down

0 comments on commit e8c9a7b

Please sign in to comment.