fix: import using absolute path

This commit is contained in:
Kinfe123 2024-06-25 19:47:55 +03:00
parent fca9969c24
commit 2e1e85874f
2 changed files with 2 additions and 3 deletions

View file

@ -1,6 +1,6 @@
import * as React from "react";
import { useCallbackRef } from "./use-callback-ref";
import { useCallbackRef } from "@repo/ui/hooks/use-callback-ref";
/**
* @see https://github.com/radix-ui/primitives/blob/main/packages/react/use-controllable-state/src/useControllableState.tsx

View file

@ -2,8 +2,7 @@
// Inspired by react-hot-toast library
import * as React from "react";
import type { ToastActionElement, ToastProps } from "./toast"
import { ToastActionElement, ToastProps } from "@repo/ui/shadcn/toast";
const TOAST_LIMIT = 1;
const TOAST_REMOVE_DELAY = 1000000;