fix: import

pull/21398/head
zxhlyh 12 months ago
parent b51c18c2cf
commit d83b9b70e3

@ -19,7 +19,7 @@ import WaterCrawl from './data-source/website/water-crawl'
import Actions from './data-source/actions' import Actions from './data-source/actions'
import DocumentProcessing from './document-processing' import DocumentProcessing from './document-processing'
import { useTranslation } from 'react-i18next' import { useTranslation } from 'react-i18next'
import { useWorkflowRun } from '../../../hooks' import { usePipelineRun } from '../../../hooks'
import type { Datasource } from './types' import type { Datasource } from './types'
const TestRunPanel = () => { const TestRunPanel = () => {
@ -126,7 +126,7 @@ const TestRunPanel = () => {
setCurrentStep(preStep => preStep - 1) setCurrentStep(preStep => preStep - 1)
}, []) }, [])
const { handleRun } = useWorkflowRun() const { handleRun } = usePipelineRun()
const handleProcess = useCallback(() => { const handleProcess = useCallback(() => {
const datasourceInfo: Record<string, any> = {} const datasourceInfo: Record<string, any> = {}

Loading…
Cancel
Save