From 67580cc7e7f6f6be15216735c5c5b4a4d7d23cb7 Mon Sep 17 00:00:00 2001 From: julamb Date: Fri, 29 Dec 2023 20:50:38 +0100 Subject: [PATCH] Fix typo in DateInput.demo.parser.tsx --- .../demos/src/demos/dates/DateInput/DateInput.demo.parser.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@docs/demos/src/demos/dates/DateInput/DateInput.demo.parser.tsx b/packages/@docs/demos/src/demos/dates/DateInput/DateInput.demo.parser.tsx index 09529ddd212..6e08aca86ec 100644 --- a/packages/@docs/demos/src/demos/dates/DateInput/DateInput.demo.parser.tsx +++ b/packages/@docs/demos/src/demos/dates/DateInput/DateInput.demo.parser.tsx @@ -12,7 +12,7 @@ const dateParser: DateInputProps['dateParser'] = (input) => { return new Date(1939, 8, 1); } - return return dayjs(input, 'DD/MM/YYYY').toDate(); + return dayjs(input, 'DD/MM/YYYY').toDate(); }; function Demo() {