dify/web/app/components/snippets/hooks/use-inspect-vars-crud.ts
yyh 119b6532fd
refactor(workflow): remove hook barrel exports (#39588)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-26 14:16:18 +00:00

14 lines
357 B
TypeScript

import { useInspectVarsCrudCommon } from '@/app/components/workflow/hooks/use-inspect-vars-crud-common'
import { useConfigsMap } from './use-configs-map'
export const useInspectVarsCrud = (snippetId: string) => {
const configsMap = useConfigsMap(snippetId)
const apis = useInspectVarsCrudCommon({
...configsMap,
})
return {
...apis,
}
}