Skip to content

Commit

Permalink
Explorer: Fix balance delta display (#28041)
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarry authored Sep 24, 2022
1 parent 22b966b commit e85900e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion explorer/src/components/common/BalanceDelta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function BalanceDelta({
let sols;

if (isSol) {
sols = <SolBalance lamports={delta.toNumber()} />;
sols = <SolBalance lamports={Math.abs(delta.toNumber())} />;
}

if (delta.gt(0)) {
Expand Down

1 comment on commit e85900e

@denispalab
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for explorer ready!

✅ Preview
https://explorer-e89h5n758-solana-labs.vercel.app

Built with commit e85900e.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.