mirror of https://github.com/langgenius/dify.git
feat: add rag pipeline store slice
This commit is contained in:
parent
a36436b585
commit
a2dc38f90a
|
|
@ -21,6 +21,7 @@ import WorkflowWithDefaultContext from '@/app/components/workflow'
|
|||
import {
|
||||
WorkflowContextProvider,
|
||||
} from '@/app/components/workflow/context'
|
||||
import type { InjectWorkflowStoreSliceFn } from '@/app/components/workflow/store'
|
||||
import { createWorkflowSlice } from './store/workflow/workflow-slice'
|
||||
import WorkflowAppMain from './components/workflow-main'
|
||||
|
||||
|
|
@ -98,7 +99,7 @@ const WorkflowAppWithAdditionalContext = () => {
|
|||
const WorkflowAppWrapper = () => {
|
||||
return (
|
||||
<WorkflowContextProvider
|
||||
injectWorkflowStoreSliceFn={createWorkflowSlice}
|
||||
injectWorkflowStoreSliceFn={createWorkflowSlice as InjectWorkflowStoreSliceFn}
|
||||
>
|
||||
<WorkflowAppWithAdditionalContext />
|
||||
</WorkflowContextProvider>
|
||||
|
|
|
|||
Loading…
Reference in New Issue