chore: lint require and how to import react (#30041)

This commit is contained in:
Stephen Zhou
2025-12-23 18:02:10 +08:00
committed by GitHub
parent 72ca3607a3
commit 403adefc07
1078 changed files with 1680 additions and 1216 deletions

View File

@ -1,7 +1,7 @@
import type { FC } from 'react'
import type { AnswerNodeType } from './types'
import type { NodeProps } from '@/app/components/workflow/types'
import React from 'react'
import * as React from 'react'
import { useTranslation } from 'react-i18next'
import InfoPanel from '../_base/components/info-panel'
import ReadonlyInputWithSelectVar from '../_base/components/readonly-input-with-select-var'

View File

@ -1,7 +1,7 @@
import type { FC } from 'react'
import type { AnswerNodeType } from './types'
import type { NodePanelProps } from '@/app/components/workflow/types'
import React from 'react'
import * as React from 'react'
import { useTranslation } from 'react-i18next'
import Editor from '@/app/components/workflow/nodes/_base/components/prompt/editor'
import useAvailableVarList from '@/app/components/workflow/nodes/_base/hooks/use-available-var-list'