Skip to content

Commit 0b9cb4b

Browse files
committed
fix lint error
1 parent 9c51840 commit 0b9cb4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stories/Datepicker.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const TodayButtonExtensionRenderer = (props: {
1414
const today = moment().format('YYYY-MM-DD');
1515
const onSelectToday = useCallback(() => {
1616
onSelect?.(today);
17-
}, []);
17+
}, [onSelect, today]);
1818
return (
1919
<div
2020
style={{

0 commit comments

Comments
 (0)