mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-01 00:05:43 +08:00
This commit resolves an incorrect import path for `ToastProps` and `ToastActionElement` types within the `use-toast.tsx` hook. The current path, `@/registry/default/ui/toast`, does not reflect the actual file location in this repository. The import in `src/components/hooks/use-toast.tsx` has been updated from `@/registry/default/ui/toast` to the correct alias path: `@/components/ui/toast`. This ensures the types are resolved correctly and the codebase remains clean and functional.