From 53fc97e1bdbc9d539461ba0916be3b208bceda0c Mon Sep 17 00:00:00 2001 From: alextea Date: Tue, 14 May 2024 15:45:28 +0200 Subject: [PATCH] onChange null --- src/components/dateHour/DateHour.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/dateHour/DateHour.tsx b/src/components/dateHour/DateHour.tsx index 9dc2157..9fee6a5 100644 --- a/src/components/dateHour/DateHour.tsx +++ b/src/components/dateHour/DateHour.tsx @@ -38,7 +38,7 @@ export const DateHour: FC = ({ useEffect(() => { if (!dateValue) { - onChange() + onChange(null) return }