@colisweb/rescript-toolkit 5.16.0 → 5.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colisweb/rescript-toolkit",
3
- "version": "5.16.0",
3
+ "version": "5.16.1",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "clean": "rescript clean",
@@ -157,7 +157,9 @@ module Make = (Config: Config) => {
157
157
  ?className
158
158
  onSubmit={event => {
159
159
  ReactEvent.Synthetic.preventDefault(event)
160
- form.submit()
160
+ if !form.isSubmitting {
161
+ form.submit()
162
+ }
161
163
  }}>
162
164
  children
163
165
  <Toolkit__Ui_VisuallyHidden>