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 f6df960 commit 766ad82Copy full SHA for 766ad82
app/page.tsx
@@ -66,8 +66,8 @@ export default function Playground() {
66
setValue(value);
67
console.log(e);
68
console.log("value", {
69
- startDate: value?.startDate?.toLocaleDateString(),
70
- endDate: value?.endDate?.toLocaleDateString()
+ startDate: value?.startDate?.toLocaleDateString() || null,
+ endDate: value?.endDate?.toLocaleDateString() || null
71
});
72
}}
73
useRange={useRange}
0 commit comments