mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2025-12-19 07:14:22 +01:00
show fee explanation even for single sat
This commit is contained in:
committed by
Tony Giorgio
parent
b0d36cb1e2
commit
979697492d
@@ -41,7 +41,9 @@ export function AmountSmall(props: {
|
||||
return (
|
||||
<span class="font-light">
|
||||
{prettyPrintAmount(props.amountSats)}
|
||||
<span class="text-sm">SATS</span>
|
||||
<span class="text-sm">
|
||||
{props.amountSats === 1 || props.amountSats === 1n ? "SAT" : "SATS"}
|
||||
</span>
|
||||
</span>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user