mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
fix
This commit is contained in:
parent
9ddc22b63c
commit
4898875532
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ export const QuickEditChat = ({
|
|||
const isDisabled = instructionsAreEmpty
|
||||
|
||||
const [currStreamingDiffZoneRef, setCurrentlyStreamingDiffZone] = useRefState<number | null>(initStreamingDiffZoneId)
|
||||
const isStreaming = !!currStreamingDiffZoneRef
|
||||
const isStreaming = currStreamingDiffZoneRef.current !== null
|
||||
|
||||
const onSubmit = useCallback((e: FormEvent) => {
|
||||
if (isDisabled) return
|
||||
|
|
|
|||
Loading…
Reference in a new issue