Skip to content

Commit 475d460

Browse files
committed
Remove redundant onSubmit handlers
1 parent cf6c2f6 commit 475d460

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

client/app/bundles/comments/rescript/CommentForm/forms/InlineForm.res

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ let make = (~author, ~handleAuthorChange, ~text, ~handleTextChange, ~handleSubmi
3232
<input
3333
type_="submit"
3434
className="self-start px-3 py-1 font-semibold border-0 rounded text-sky-50 bg-sky-600 hover:bg-sky-800"
35-
onSubmit=handleSubmit
3635
value="Post"
3736
/>
3837
</div>

client/app/bundles/comments/rescript/CommentForm/forms/StackedFrom.res

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ let make = (~author, ~handleAuthorChange, ~text, ~handleTextChange, ~handleSubmi
2929
<input
3030
type_="submit"
3131
className="self-start px-3 py-1 font-semibold border-0 rounded text-sky-50 bg-sky-600 hover:bg-sky-800"
32-
onSubmit=handleSubmit
3332
value="Post"
3433
/>
3534
</div>

0 commit comments

Comments
 (0)