From 30238e2288073e111cc040501b3d80b7c101b98e Mon Sep 17 00:00:00 2001 From: Matthias Esterl Date: Thu, 12 Apr 2018 11:33:12 +0200 Subject: [PATCH] Fixed syntax error in example Fixed syntax error in `Why is the selected start date being shown in the input field of the end date?` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3ab2fe9..621f683 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ You can also display both the datepicker and the timepicker in one step by setti If you have both a start date/time and end date/time picker on the same screen, you will need to have `showDateTimePicker`, `hideDateTimePicker`, and `handleDatePicked` functions for both. ```javascript -showStartDateTimePicker = () => { this.setState({ startDateTimePickerVisible: true }); +showStartDateTimePicker = () => this.setState({ startDateTimePickerVisible: true }); showEndDateTimePicker = () => this.setState({ endDateTimePickerVisible: true });