We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbbec09 commit 10b59d7Copy full SHA for 10b59d7
packages/apps/dashboard/client/src/pages/SearchResults/HmtBalance/index.tsx
@@ -23,7 +23,8 @@ const HmtBalance: FC<Props> = ({ balance }) => {
23
return <span>...</span>;
24
}
25
26
- const _balance = Number(balance) * 1e18;
+ const _balance =
27
+ Number(balance) < 1 ? Number(balance) * 1e18 : Number(balance);
28
const balanceInDollars = balance ? (_balance * data).toFixed(2) : 0;
29
30
return (
0 commit comments