Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix: Correct toast type import path in use-toast hook (#11791)

Rohit4d7934061ed2
diff --git a/web/src/components/hooks/use-toast.tsx b/web/src/components/hooks/use-toast.tsx
index 3fc74a6b3a..ca071d4074 100644
--- a/web/src/components/hooks/use-toast.tsx
+++ b/web/src/components/hooks/use-toast.tsx
@@ -6,7 +6,7 @@ import * as React from 'react';
import type {
ToastActionElement,
ToastProps,
-} from '@/registry/default/ui/toast';
+} from '@/components/ui/toast';
const TOAST_LIMIT = 1;
const TOAST_REMOVE_DELAY = 1000000;