We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c51840 commit 0b9cb4bCopy full SHA for 0b9cb4b
stories/Datepicker.stories.tsx
@@ -14,7 +14,7 @@ const TodayButtonExtensionRenderer = (props: {
14
const today = moment().format('YYYY-MM-DD');
15
const onSelectToday = useCallback(() => {
16
onSelect?.(today);
17
- }, []);
+ }, [onSelect, today]);
18
return (
19
<div
20
style={{
0 commit comments