diff --git a/web/app/components/workflow/panel/debug-and-preview/index.tsx b/web/app/components/workflow/panel/debug-and-preview/index.tsx index 53c91299a2..c33a6355f2 100644 --- a/web/app/components/workflow/panel/debug-and-preview/index.tsx +++ b/web/app/components/workflow/panel/debug-and-preview/index.tsx @@ -5,7 +5,7 @@ import { useRef, useState, } from 'react' -import { useKeyPress } from 'ahooks' + import { RiCloseLine, RiEqualizer2Line } from '@remixicon/react' import { useTranslation } from 'react-i18next' import { useNodes } from 'reactflow' @@ -48,12 +48,6 @@ const DebugAndPreview = () => { chatRef.current.handleRestart() } - useKeyPress('shift.r', () => { - handleRestartChat() - }, { - exactMatch: true, - }) - const [panelWidth, setPanelWidth] = useState(420) const [isResizing, setIsResizing] = useState(false)