MCPcopy Create free account
hub / github.com/ForgeAILab/forge / openAddDialog

Function openAddDialog

web/src/components/settings/ProjectHooksSection.tsx:613–617  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

611 }
612
613 const openAddDialog = () => {
614 setDialogMode({ type: 'add' })
615 setForm(emptyRuleForm())
616 setFormError('')
617 }
618
619 const openEditDialog = (rule: ProjectHookRule, index: number) => {
620 setDialogMode({ type: 'edit', index })

Callers

nothing calls this directly

Calls 1

emptyRuleFormFunction · 0.85

Tested by

no test coverage detected