feat: set precision to 2
This commit is contained in:
parent
78db8ad50f
commit
6333c7d4d0
|
|
@ -220,7 +220,7 @@ function PowerButton({ isLoading, myWallet }: { isLoading: boolean; myWallet?: W
|
|||
{isLoading ? (
|
||||
<span className="h-3 w-8 animate-pulse rounded-xl bg-theme-inactive" />
|
||||
) : (
|
||||
<Balance>{BigInt(myWallet?.powerToken || 0n)}</Balance>
|
||||
<Balance precision={0}>{BigInt(myWallet?.powerToken || 0n)}</Balance>
|
||||
)}
|
||||
</div>
|
||||
)
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ export const Balance = ({
|
|||
children,
|
||||
value,
|
||||
className,
|
||||
precision = 0,
|
||||
precision = 2,
|
||||
withSuffix = false,
|
||||
withTooltip = false,
|
||||
}: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue