Skip to content

Commit 5b2aef2

Browse files
authored
fix: fix submit (#1000)
1 parent 1a1140c commit 5b2aef2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/components/event-definitions/manage-event-definition-dialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ function ManageEventDefinitionDialogContent({
276276
>
277277
Cancel
278278
</Button>
279-
<Button type="submit" disabled={isLoading || !isValid} onClick={handleSubmit(submit)}>
279+
<Button type="submit" disabled={isLoading || !isValid}>
280280
<Loader2 className={cn("mr-2 hidden", isLoading ? "animate-spin block" : "")} size={16} />
281281
{id ? "Save" : "Create"}
282282
</Button>

0 commit comments

Comments
 (0)