From c97c827d6b3e982ed14e5deadeb07f7795b8ebf9 Mon Sep 17 00:00:00 2001 From: tradermohamed <110409704+tradermohamed@users.noreply.github.com> Date: Tue, 13 Feb 2024 13:27:51 -0500 Subject: [PATCH] Fix Decimals (#29) --- components/home/charts/retail-volume.tsx | 6 +++--- components/home/charts/unique-users-coin.tsx | 10 +++++----- helpers/index.ts | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/components/home/charts/retail-volume.tsx b/components/home/charts/retail-volume.tsx index f415a64..167a463 100644 --- a/components/home/charts/retail-volume.tsx +++ b/components/home/charts/retail-volume.tsx @@ -252,7 +252,7 @@ export default function RetailVolumeChart() { ); return ( - This measures two-sided volume, i.e. each side of a trade is counted once if that side is - retail. + This measures two-sided volume, i.e. each side of a trade is counted once if that side is retail. + This previously tracked retail volume, but was changed in February, 2024 to non-HLP volume. diff --git a/components/home/charts/unique-users-coin.tsx b/components/home/charts/unique-users-coin.tsx index 6167647..3bdfed2 100644 --- a/components/home/charts/unique-users-coin.tsx +++ b/components/home/charts/unique-users-coin.tsx @@ -182,7 +182,7 @@ export default function UniqueUsers() { return ( - The line is the number of unique addresses who used Hyperliquid each day, bars represent - proportion of users who traded specific coins. Total exceeds 100% as users can trade - multiple coins. Top 10 coins are shown separately and the rest are grouped as Other. + The line is the number of unique addresses who traded on Hyperliquid each day, bars represent + proportion of users who traded specific coins. Total exceeds 100% as users can trade + multiple coins. Top 10 coins are shown separately and the rest are grouped as Other. diff --git a/helpers/index.ts b/helpers/index.ts index 6a857e5..dd41f7c 100644 --- a/helpers/index.ts +++ b/helpers/index.ts @@ -185,7 +185,7 @@ export const yaxisFormatterNumber = (value: number): string => { }; export const yaxisFormatter = (value: number): string => { - return formatNumberWithOptions(value, { currency: true, compact: true }, 0); + return formatNumberWithOptions(value, { currency: true, compact: true }); }; export const tooltipFormatterNumber = (value: number | string): string => {