diff options
author | Sebastian <sebasjm@gmail.com> | 2023-01-27 12:35:10 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-01-27 15:08:24 -0300 |
commit | 1b2b5d62de5888eae895db69cf6ae51dbfddb32b (patch) | |
tree | b705f9692fcbf7bb207d6c3e5734ec1dab678450 /packages/merchant-backoffice-ui/src/paths/instance/templates/create | |
parent | 7a3717125f9ed76719167d3a17b86a7e0502ee33 (diff) | |
download | wallet-core-1b2b5d62de5888eae895db69cf6ae51dbfddb32b.tar.xz |
add use-template button
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths/instance/templates/create')
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx index 2a47c22a0..2b8d718fb 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx @@ -72,7 +72,7 @@ export function CreatePage({ onCreate, onBack }: Props): VNode { ? i18n.str`can't be empty` : state.template_contract.pay_duration.d_us === "forever" ? undefined - : state.template_contract.pay_duration.d_us < 1000 + : state.template_contract.pay_duration.d_us < 1000 * 1000 //less than one second ? i18n.str`to short` : undefined, }), |