Skip to content

Commit

Permalink
Merge pull request #87 from cap-collectif/85-2-fix-date-hour-null
Browse files Browse the repository at this point in the history
dateHour onChange null
  • Loading branch information
TeaAlex authored May 14, 2024
2 parents 75e19dc + 53fc97e commit dfb73e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/dateHour/DateHour.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const DateHour: FC<DateHourProps> = ({

useEffect(() => {
if (!dateValue) {
onChange()
onChange(null)
return
}

Expand Down

0 comments on commit dfb73e4

Please sign in to comment.