Skip to content

Commit

Permalink
refactor(fields): add early return
Browse files Browse the repository at this point in the history
  • Loading branch information
louptheron committed Oct 18, 2024
1 parent 2bb79a1 commit af9360b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/fields/DateRangePicker/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,12 @@ export function DateRangePicker({
if (isFilled) {
if (withTime && hasFullDayDefaultValue) {
closeRangeCalendarPicker()
forceUpdate()

return
}

handleEndDateInputNext()
forceUpdate()
}
}
},
Expand Down

0 comments on commit af9360b

Please sign in to comment.