Skip to content

Commit

Permalink
Code Review: wrap the function body in a block
Browse files Browse the repository at this point in the history
  • Loading branch information
nighto committed Dec 13, 2024
1 parent 7c05944 commit 3401552
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const Standard: Story = {
<DatePicker
{...args}
selected={startDate}
onChange={(date: Date | null) => setStartDate(date)}
onChange={(date: Date | null) => { setStartDate(date) }}
/>
<p>Date selected: {startDate?.toDateString()}</p>
</div>
Expand Down

0 comments on commit 3401552

Please sign in to comment.