diff --git a/src/pages/Dashboard/index.tsx b/src/pages/Dashboard/index.tsx index 530d8f7..a69ccbf 100644 --- a/src/pages/Dashboard/index.tsx +++ b/src/pages/Dashboard/index.tsx @@ -322,7 +322,7 @@ const Dashboard = () => { ]} data={[ ...(topTrading || [])?.map((item) => - Number(item.volumeUst) + Number(item.dailyVolumeUst) ), restTradingUst, ]} @@ -602,7 +602,7 @@ const Dashboard = () => { ), }, { - accessor: "token0Volume", + accessor: "pairAddress", Header: "Fees (24H)", sortDescFirst: true, sortType: (a, b) => diff --git a/src/rest/useDashboardAPI.ts b/src/rest/useDashboardAPI.ts index 7254524..62f6133 100644 --- a/src/rest/useDashboardAPI.ts +++ b/src/rest/useDashboardAPI.ts @@ -28,13 +28,7 @@ export interface Pair { timestamp: Date pairAddress: string token0: string - token0Volume: string - token0Reserve: string token1: string - token1Volume: string - token1Reserve: string - totalLpTokenShare: string - volumeUst: string // Deprecated liquidityUst: string token0Symbol: string token0Decimals: number