ソースを参照

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

tags/1.3.0
crazywoola 6ヶ月前
コミット
b96ecd072a
コミッターのメールアドレスに関連付けられたアカウントが存在しません
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)


読み込み中…
キャンセル
保存