Skip to content

Commit 4332a54

Browse files
committed
Fix ReScript warning: mark unused event parameter with underscore
1 parent 52210fa commit 4332a54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ let make = (~fetchData) => {
104104
className={`px-6 py-2 font-semibold border-0 rounded ${state.form == form.formType
105105
? "text-sky-50 bg-sky-600"
106106
: "text-sky-600 hover:bg-gray-100"}`}
107-
onClick={event => SetFormType(form.formType)->dispatch}>
107+
onClick={_event => SetFormType(form.formType)->dispatch}>
108108
{form.formName->React.string}
109109
</button>
110110
)

0 commit comments

Comments
 (0)