File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
packages/core/src/components/next/DatePicker Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,6 @@ const DatePicker: FC<DatePickerProps> = ({
9393
9494 if ( mode === "range" ) {
9595 const newRange = addToRange ( selectedDay , selected as DateRange , intent ) ;
96- console . log ( "newRange" , newRange ) ;
9796 ( onDateChange as ( range : DatePickerRange ) => void ) ( { date : newRange ?. from , endDate : newRange ?. to } ) ;
9897 } else {
9998 const newDate = newValue as Date ;
Original file line number Diff line number Diff line change 11import React , { type FC , useCallback , useMemo } from "react" ;
22import cx from "classnames" ;
33import { useDayPicker , useNavigation } from "react-day-picker" ;
4- import { Button , Flex , IconButton } from "@vibe/core" ;
5- import { Dropdown } from "@vibe/core/next" ;
4+ import { Button } from "@vibe/button" ;
5+ import IconButton from "../../IconButton/IconButton" ;
6+ import Flex from "../../Flex/Flex" ;
7+ import Dropdown from "../../next/Dropdown/Dropdown" ;
68import { DropdownChevronRight , DropdownChevronLeft } from "@vibe/icons" ;
79import styles from "./DatePickerHeader.module.scss" ;
810import { useMonthsOptionItems , useYearsOptionItems , type DatePickerDropdownItem } from "./datePickerHooks" ;
You can’t perform that action at this time.
0 commit comments