From 4429ef3043bf709523b34294e482361c4d61d727 Mon Sep 17 00:00:00 2001 From: Vincenzo Guerrisi Date: Mon, 25 Sep 2023 16:24:02 +0200 Subject: [PATCH] fix website snippet --- packages/website/src/snippets/Components/DateField.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/website/src/snippets/Components/DateField.tsx b/packages/website/src/snippets/Components/DateField.tsx index ac565502c..2158f0166 100644 --- a/packages/website/src/snippets/Components/DateField.tsx +++ b/packages/website/src/snippets/Components/DateField.tsx @@ -1,8 +1,8 @@ import * as React from "react"; -import { DateField, CalendarDate } from ".."; +import { DateField } from ".."; export default function DateFieldExample() { - const [value, setValue] = React.useState(new CalendarDate(1987, 8, 31)); + const [value, setValue] = React.useState(new Date(1987, 8, 31)); return (