Skip to content

Commit 6b0b9dc

Browse files
Fix unused timeZone variable in handleSelect
1 parent 941a1f6 commit 6b0b9dc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -783,8 +783,7 @@ export class DatePicker extends Component<DatePickerProps, DatePickerState> {
783783
) => {
784784
if (this.props.readOnly) return;
785785

786-
const { selectsRange, startDate, endDate, locale, swapRange, timeZone } =
787-
this.props;
786+
const { selectsRange, startDate, endDate, locale, swapRange } = this.props;
788787
const dateFormat =
789788
this.props.dateFormat ?? DatePicker.defaultProps.dateFormat;
790789
const isDateSelectionComplete =

0 commit comments

Comments
 (0)