From a7e7cbe3fa4781818a737665e6e2fd3bb4087a92 Mon Sep 17 00:00:00 2001 From: Astrian Zheng Date: Wed, 19 Feb 2025 16:48:07 +1100 Subject: [PATCH] refactor: remove console log from SingleDatePicker component --- src/components/SingleDatePicker.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/SingleDatePicker.tsx b/src/components/SingleDatePicker.tsx index 3a1a2b2..286167e 100644 --- a/src/components/SingleDatePicker.tsx +++ b/src/components/SingleDatePicker.tsx @@ -32,7 +32,6 @@ export default ({ value }: Props) => { useEffect(() => { if (!value) return const date = value instanceof Date ? value : new Date(value.year, value.month - 1, value.day) - console.log(date) setSelectedDate(date) setCurrentMonth(date.getMonth()) setCurrentYear(date.getFullYear())