Skip to content

Commit b591816

Browse files
committed
fix build
1 parent a01d6be commit b591816

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

packages/core/src/components/next/DatePicker/DatePicker.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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;

packages/core/src/components/next/DatePicker/DatePickerHeader.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import React, { type FC, useCallback, useMemo } from "react";
22
import cx from "classnames";
33
import { 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";
68
import { DropdownChevronRight, DropdownChevronLeft } from "@vibe/icons";
79
import styles from "./DatePickerHeader.module.scss";
810
import { useMonthsOptionItems, useYearsOptionItems, type DatePickerDropdownItem } from "./datePickerHooks";

0 commit comments

Comments
 (0)