diff --git a/bsconfig.json b/bsconfig.json index 1f842dce6..a7b92f107 100644 --- a/bsconfig.json +++ b/bsconfig.json @@ -8,7 +8,7 @@ ], "package-specs": [ { - "module": "es6", + "module": "esmodule", "in-source": true } ], diff --git a/client/app/bundles/comments/rescript/CommentForm/CommentForm.res b/client/app/bundles/comments/rescript/CommentForm/CommentForm.res index c3991d724..be073e7ea 100644 --- a/client/app/bundles/comments/rescript/CommentForm/CommentForm.res +++ b/client/app/bundles/comments/rescript/CommentForm/CommentForm.res @@ -104,7 +104,7 @@ let make = (~fetchData) => { className={`px-6 py-2 font-semibold border-0 rounded ${state.form == form.formType ? "text-sky-50 bg-sky-600" : "text-sky-600 hover:bg-gray-100"}`} - onClick={event => SetFormType(form.formType)->dispatch}> + onClick={_event => SetFormType(form.formType)->dispatch}> {form.formName->React.string} )