refactor: remove console log from SingleDatePicker component
This commit is contained in:
parent
2cadaae650
commit
a7e7cbe3fa
|
@ -32,7 +32,6 @@ export default ({ value }: Props) => {
|
|||
useEffect(() => {
|
||||
if (!value) return
|
||||
const date = value instanceof Date ? value : new Date(value.year, value.month - 1, value.day)
|
||||
console.log(date)
|
||||
setSelectedDate(date)
|
||||
setCurrentMonth(date.getMonth())
|
||||
setCurrentYear(date.getFullYear())
|
||||
|
|
Loading…
Reference in New Issue
Block a user