fix: feetext defaults to free (#1031)
* fix: feetext defaults to free * Update components/fee-button.js Co-authored-by: ekzyis <ek@stacker.news> --------- Co-authored-by: ekzyis <ek@stacker.news>
This commit is contained in:
parent
c7d926df30
commit
6d57bbffe5
|
@ -118,7 +118,7 @@ export default function FeeButton ({ ChildButton = SubmitButton, variant, text,
|
|||
? 'free'
|
||||
: total > 1
|
||||
? numWithUnits(total, { abbreviate: false, format: true })
|
||||
: undefined
|
||||
: total === 1 ? undefined : 'free'
|
||||
disabled ||= ctxDisabled
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue