Selaa lähdekoodia

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

tags/1.3.0
crazywoola 6 kuukautta sitten
vanhempi
commit
b96ecd072a
No account linked to committer's email address
1 muutettua tiedostoa jossa 1 lisäystä ja 7 poistoa
  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 Näytä tiedosto

@@ -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…
Peruuta
Tallenna