rescriptbr / reform

📋 Reasonably making forms sound good
https://rescript-reform.netlify.app/
MIT License
353 stars 41 forks source link

bs-reform v9.7.0 "raiseSubmitFailed" missing declaration #153

Closed Ben-Davis1 closed 4 years ago

Ben-Davis1 commented 4 years ago

Hey.

Should be a quick fix but I noticed that the declaration for the raiseSubmitFailed variable in ReForm.re is missing as of v9.7.0.

Looking at previous versions, I believe the variable should be defined with the following but I could be wrong:

let raiseSubmitFailed = error => send(RaiseSubmitFailed(error));

Cheers

fakenickels commented 4 years ago

Thanks! a