mirror of
https://github.com/langgenius/dify.git
synced 2025-12-29 11:02:26 +00:00
fix: import
This commit is contained in:
parent
b51c18c2cf
commit
d83b9b70e3
@ -19,7 +19,7 @@ import WaterCrawl from './data-source/website/water-crawl'
|
||||
import Actions from './data-source/actions'
|
||||
import DocumentProcessing from './document-processing'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { useWorkflowRun } from '../../../hooks'
|
||||
import { usePipelineRun } from '../../../hooks'
|
||||
import type { Datasource } from './types'
|
||||
|
||||
const TestRunPanel = () => {
|
||||
@ -126,7 +126,7 @@ const TestRunPanel = () => {
|
||||
setCurrentStep(preStep => preStep - 1)
|
||||
}, [])
|
||||
|
||||
const { handleRun } = useWorkflowRun()
|
||||
const { handleRun } = usePipelineRun()
|
||||
|
||||
const handleProcess = useCallback(() => {
|
||||
const datasourceInfo: Record<string, any> = {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user