@douglasneuroinformatics/libui 3.8.2 → 3.8.3

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@douglasneuroinformatics/libui",
3
3
  "type": "module",
4
- "version": "3.8.2",
4
+ "version": "3.8.3",
5
5
  "packageManager": "pnpm@9.14.2",
6
6
  "description": "Generic UI components for DNP projects, built using React and Tailwind CSS",
7
7
  "author": "Joshua Unrau",
@@ -109,8 +109,8 @@ const Form = <TSchema extends z.ZodType<FormDataType>, TData extends z.TypeOf<TS
109
109
  event.preventDefault();
110
110
  const result = await validationSchema.safeParseAsync(values);
111
111
  if (result.success) {
112
- reset();
113
112
  await onSubmit(result.data);
113
+ reset();
114
114
  } else {
115
115
  console.error(result.error.issues);
116
116
  handleError(result.error);