Skip to content

Commit

Permalink
fix: not return
Browse files Browse the repository at this point in the history
  • Loading branch information
Layouwen committed Oct 29, 2024
1 parent 5866c28 commit b839f9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/calendar-picker-view/calendar-picker-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -259,11 +259,11 @@ export const CalendarPickerView = forwardRef<

if (props.selectionMode === 'range') {
if (isBegin) {
contentWrapper(locale.Calendar.start)
return contentWrapper(locale.Calendar.start)
}

if (isEnd) {
contentWrapper(locale.Calendar.end)
return contentWrapper(locale.Calendar.end)
}
}

Expand Down

0 comments on commit b839f9d

Please sign in to comment.