Skip to content

Commit

Permalink
fix: SCAN-3978
Browse files Browse the repository at this point in the history
  • Loading branch information
0x74616e67 committed May 17, 2022
1 parent be6e069 commit 506fd28
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/containers/Charts/Token.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function Token({
const data4: any = [];

data?.list?.map((d, i) => {
const t = dayjs.utc(d.createdAt).valueOf();
const t = dayjs.utc(d.day).valueOf();
data1.push([t, new BigNumber(d.transferAmount).div(1e18).toNumber()]);
data2.push([t, Number(d.transferCount)]);
data3.push([t, Number(d.uniqueReceiver)]);
Expand Down Expand Up @@ -86,6 +86,10 @@ export function Token({
if (type.indexOf('20') > -1) {
props.options.series.unshift({
name: `<span>${t(translations.highcharts.token.seriesName)}</span>`,
// @ts-ignore
tooltip: {
valueDecimals: 2,
},
});
}

Expand Down

0 comments on commit 506fd28

Please sign in to comment.