Skip to content

Commit 91c01ea

Browse files
committed
fix: let backend handle decimals of latest delegations
1 parent 9d44393 commit 91c01ea

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/ui/delegationUpdates.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ const DelegationUpdates = ({ data, isLoading, error }: {
8282
{delegations.map((delegation, i) => {
8383
const logo = chainToLogoUrl(delegation.chain)
8484
const url = chainToTransactionUrl(delegation.chain, delegation.transaction)
85-
const delegated = Formatter.number(delegation.delegated, undefined, 18)
86-
const symbol = chainToSymbol(delegation.chain)
85+
const delegated = Formatter.number(delegation.delegated)
8786
return <React.Fragment key={i}>
8887
<div><img src={logo} width={25} /></div>
8988
<div>{resolveProtocolName(delegation.protocol)}</div>

0 commit comments

Comments
 (0)