dify/web/app/components/workflow/hooks/use-set-workflow-vars-with-value.ts
zxhlyh 3bfa9767c0
Chore/workflow last run (#21823)
Co-authored-by: Joel <iamjoel007@gmail.com>
2025-07-02 17:48:07 +08:00

10 lines
228 B
TypeScript

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