refactor(ui): use relative internal imports
This commit is contained in:
@@ -7,14 +7,10 @@ import {
|
||||
type DayButton,
|
||||
} from "react-day-picker"
|
||||
|
||||
import { cn } from "@workspace/ui/lib/utils"
|
||||
import { Button, buttonVariants } from "@workspace/ui/components/button"
|
||||
import { useCalendarLocale, useLocale } from "@workspace/ui/components/i18n"
|
||||
import {
|
||||
ChevronLeftIcon,
|
||||
ChevronRightIcon,
|
||||
ChevronDownIcon,
|
||||
} from "@workspace/ui/components/icon"
|
||||
import { cn } from "../lib/utils"
|
||||
import { Button, buttonVariants } from "./button"
|
||||
import { useCalendarLocale, useLocale } from "./i18n"
|
||||
import { ChevronLeftIcon, ChevronRightIcon, ChevronDownIcon } from "./icon"
|
||||
|
||||
type CalendarComponents = NonNullable<
|
||||
React.ComponentProps<typeof DayPicker>["components"]
|
||||
|
||||
Reference in New Issue
Block a user