dify/web/app/components/workflow/hooks/use-set-workflow-vars-with-value.ts

10 lines
228 B
TypeScript
Raw Normal View History

import { useHooksStore } from '@/app/components/workflow/hooks-store'
export const useSetWorkflowVarsWithValue = () => {
const fetchInspectVars = useHooksStore(s => s.fetchInspectVars)
return {
fetchInspectVars,
}
}