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 fe07ac4 commit 7699e31Copy full SHA for 7699e31
src/utils/api.ts
@@ -434,11 +434,11 @@ export const formatBitcoinValue = (value: string | number): string => {
434
const btcValue = numValue / 100000000;
435
436
if (btcValue >= 1000000) {
437
- return `${(btcValue / 1000000).toFixed(2)}M BTC`;
+ return `${(btcValue / 1000000).toFixed(2)}M`;
438
}
439
if (btcValue >= 1000) {
440
- return `${(btcValue / 1000).toFixed(2)}K BTC`;
+ return `${(btcValue / 1000).toFixed(2)}K`;
441
442
443
- return `${btcValue.toFixed(8)} BTC`;
+ return `${btcValue.toFixed(8)}`;
444
};
0 commit comments