From 3401552eea9dbd3afdc94cc49764c92404c2739f Mon Sep 17 00:00:00 2001 From: Arlindo Pereira Date: Fri, 13 Dec 2024 16:22:05 +0100 Subject: [PATCH] Code Review: wrap the function body in a block --- src/components/forms/controls/DatePicker/DatePicker.stories.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/forms/controls/DatePicker/DatePicker.stories.tsx b/src/components/forms/controls/DatePicker/DatePicker.stories.tsx index 94ef79c..c55efce 100644 --- a/src/components/forms/controls/DatePicker/DatePicker.stories.tsx +++ b/src/components/forms/controls/DatePicker/DatePicker.stories.tsx @@ -36,7 +36,7 @@ export const Standard: Story = { setStartDate(date)} + onChange={(date: Date | null) => { setStartDate(date) }} />

Date selected: {startDate?.toDateString()}