to RefObject (#25192)

This commit is contained in:
Asuka Minato 2025-09-05 11:14:13 +09:00 • committed by GitHub
commit f0561c0c3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
389 changed files with 405 additions and 405 deletions

View file

@ -1,4 +1,4 @@
import type { MutableRefObject } from 'react'
import type { RefObject } from 'react'
import { useTranslation } from 'react-i18next'
import type { Props as FormProps } from '@/app/components/workflow/nodes/_base/components/before-run-form/form'
import type { InputVar, Var, Variable } from '@/app/components/workflow/types'
@ -17,7 +17,7 @@ type Params = {
id: string,
payload: QuestionClassifierNodeType,
runInputData: Record<string, any>
runInputDataRef: MutableRefObject<Record<string, any>>
runInputDataRef: RefObject<Record<string, any>>
getInputVars: (textList: string[]) => InputVar[]
setRunInputData: (data: Record<string, any>) => void
toVarInputs: (variables: Variable[]) => InputVar[]