fix: circulatingSupply name fix

pull/16/head
VPcodebase 3 years ago
parent 4ca0785ba2
commit 36089b8290
  1. 2
      src/hooks/ERC20_Pool.ts
  2. 6
      src/pages/AddressPage/AddressDetails.tsx
  3. 2
      src/pages/ERC20List/ERC20Table.tsx

@ -28,7 +28,7 @@ export interface Erc20 {
name: string;
address: string;
totalSupply: string;
circulating_supply: string
circulatingSupply: string
holders: string;
decimals: number;
symbol: string;

@ -123,7 +123,7 @@ const addressPropertyDisplayNames: Record<
holders: () => "Holders",
description: () => "Description",
transactionHash: () => "Transaction Hash",
circulating_supply: () => "Circulating Supply",
circulatingSupply: () => "Circulating Supply",
};
const addressPropertyDisplayValues: Record<
@ -202,7 +202,7 @@ const addressPropertyDisplayValues: Record<
},
description: (value) => <>{value}</>,
transactionHash: (value) => <Address address={value} type={"tx"} />,
circulating_supply: (value, data) => (
circulatingSupply: (value, data) => (
<Box direction={"row"}>
<TokenValue
@ -247,7 +247,7 @@ const addressPropertyOrder: Record<string, number> = {
symbol: 21,
decimals: 22,
totalSupply: 23,
circulating_supply: 23,
circulatingSupply: 23,
holders: 24,
solidityVersion: 31,

@ -164,7 +164,7 @@ function getColumns(props: any) {
return (
<Box direction={"row"}>
<TokenValue
value={data.circulating_supply}
value={data.circulatingSupply}
tokenAddress={data.address}
formatNumber
hideSymbol

Loading…
Cancel
Save