mirror of
https://github.com/langgenius/dify.git
synced 2026-07-21 18:58:35 +08:00
12 lines
281 B
TypeScript
12 lines
281 B
TypeScript
import { useHooksStore } from '@/app/components/workflow/hooks-store'
|
|
|
|
export const useDSL = () => {
|
|
const exportCheck = useHooksStore((s) => s.exportCheck)
|
|
const handleExportDSL = useHooksStore((s) => s.handleExportDSL)
|
|
|
|
return {
|
|
exportCheck,
|
|
handleExportDSL,
|
|
}
|
|
}
|