From f5f3d3e23cac9c425c20019cb89baa212154f2ed Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Fri, 26 May 2023 17:32:33 -0300
Subject: compute some error on submit

---
 packages/exchange-backoffice-ui/src/NiceForm.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'packages/exchange-backoffice-ui/src/NiceForm.tsx')

diff --git a/packages/exchange-backoffice-ui/src/NiceForm.tsx b/packages/exchange-backoffice-ui/src/NiceForm.tsx
index 69b977ee0..4fc0ea89f 100644
--- a/packages/exchange-backoffice-ui/src/NiceForm.tsx
+++ b/packages/exchange-backoffice-ui/src/NiceForm.tsx
@@ -13,7 +13,7 @@ export function NiceForm<T extends object>({
 }: {
   children?: ComponentChildren;
   initial: Partial<T>;
-  onSubmit?: (v: T) => void;
+  onSubmit?: (v: Partial<T>) => void;
   form: FlexibleForm<T>;
   onUpdate?: (d: Partial<T>) => void;
 }) {
-- 
cgit v1.2.3

