diff options
Diffstat (limited to 'makima/frontend/src/routes/document-directives.tsx')
| -rw-r--r-- | makima/frontend/src/routes/document-directives.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/makima/frontend/src/routes/document-directives.tsx b/makima/frontend/src/routes/document-directives.tsx index 63d0b96..06e427a 100644 --- a/makima/frontend/src/routes/document-directives.tsx +++ b/makima/frontend/src/routes/document-directives.tsx @@ -1595,10 +1595,10 @@ export default function DocumentDirectivesPage() { const [newEphemeralFor, setNewEphemeralFor] = useState<DirectiveSummary | null>(null); const handleSubmitNewContract = useCallback( - async (title: string, goal: string, repositoryUrl: string) => { + async (title: string, body: string, repositoryUrl: string) => { const d = await createDirective({ title, - goal, + contractBody: body, repositoryUrl: repositoryUrl.length > 0 ? repositoryUrl : undefined, }); setShowNewContract(false); |
