diff options
author | Sebastian <sebasjm@gmail.com> | 2023-03-12 23:55:53 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-03-12 23:55:53 -0300 |
commit | ae1aee13581469a8398321b57e95cc85f210047b (patch) | |
tree | 03b44efa4dc6799457cb5550691a81e3ea0f06a0 /packages/merchant-backoffice-ui/src/components/form | |
parent | 77c71a4c2d4d202f82a33bd44f5a099f82249482 (diff) | |
download | wallet-core-ae1aee13581469a8398321b57e95cc85f210047b.tar.xz |
kyc 1min
Diffstat (limited to 'packages/merchant-backoffice-ui/src/components/form')
-rw-r--r-- | packages/merchant-backoffice-ui/src/components/form/InputCurrency.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/merchant-backoffice-ui/src/components/form/InputCurrency.tsx b/packages/merchant-backoffice-ui/src/components/form/InputCurrency.tsx index 3b84855da..b02354d7c 100644 --- a/packages/merchant-backoffice-ui/src/components/form/InputCurrency.tsx +++ b/packages/merchant-backoffice-ui/src/components/form/InputCurrency.tsx @@ -58,7 +58,7 @@ export function InputCurrency<T>({ inputType="number" expand={expand} toStr={(v?: Amount) => v?.split(":")[1] || ""} - fromStr={(v: string) => (!v ? "" : `${config.currency}:${v}`)} + fromStr={(v: string) => (!v ? undefined : `${config.currency}:${v}`)} inputExtra={{ min: 0 }} > {children} |