瀏覽代碼

fix: can not input R when debug (#18323)

tags/1.3.0
crazywoola 6 月之前
父節點
當前提交
b96ecd072a
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入7 次删除
  1. 1
    7
      web/app/components/workflow/panel/debug-and-preview/index.tsx

+ 1
- 7
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)


Loading…
取消
儲存