From 1f0a153d0ed0bff2ab495270e038642ebec68245 Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Thu, 5 Dec 2024 16:51:33 +0800 Subject: [PATCH] Revert "Feat: Add tooltip to question item of ChunkCreatingModal #3873" (#3879) Reverts infiniflow/ragflow#3878 --- web/src/pages/flow/canvas/index.tsx | 35 +---------------------------- 1 file changed, 1 insertion(+), 34 deletions(-) diff --git a/web/src/pages/flow/canvas/index.tsx b/web/src/pages/flow/canvas/index.tsx index 206db188b..d372f1198 100644 --- a/web/src/pages/flow/canvas/index.tsx +++ b/web/src/pages/flow/canvas/index.tsx @@ -1,16 +1,8 @@ -import { - Tooltip, - TooltipContent, - TooltipProvider, - TooltipTrigger, -} from '@/components/ui/tooltip'; import { useSetModalState } from '@/hooks/common-hooks'; -import { FolderOutput, Import } from 'lucide-react'; import { useCallback, useEffect } from 'react'; import ReactFlow, { Background, ConnectionMode, - ControlButton, Controls, NodeMouseHandler, } from 'reactflow'; @@ -200,32 +192,7 @@ function FlowCanvas({ drawerVisible, hideDrawer }: IProps) { deleteKeyCode={['Delete', 'Backspace']} > - - alert('Something magical just happened. ✨')} - > - - - - - - Import - - - - alert('Something magical just happened. ✨')} - > - - - - - - Export - - - - + {formDrawerVisible && (