Skip to content

Commit 4562441

Browse files
?
1 parent ec2a4bc commit 4562441

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ export default function RangeDatePage() {
6060
setVisible(false)
6161
}, [setVisible])
6262

63-
const onChange = React.useCallback(({ date }) => {
63+
const onChange = React.useCallback(({ startDate, endDate }) => {
6464
setVisible(false)
65-
console.log({ date })
65+
console.log({ startDate, endDate })
6666
}, [])
6767

6868

0 commit comments

Comments
 (0)