Skip to content

Commit

Permalink
hotfix: display the top trading chart
Browse files Browse the repository at this point in the history
  • Loading branch information
honeymaro committed Jan 4, 2024
1 parent 078976e commit c793285
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/pages/Dashboard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ const Dashboard = () => {
]}
data={[
...(topTrading || [])?.map((item) =>
Number(item.volumeUst)
Number(item.dailyVolumeUst)
),
restTradingUst,
]}
Expand Down Expand Up @@ -602,7 +602,7 @@ const Dashboard = () => {
),
},
{
accessor: "token0Volume",
accessor: "pairAddress",
Header: "Fees (24H)",
sortDescFirst: true,
sortType: (a, b) =>
Expand Down
6 changes: 0 additions & 6 deletions src/rest/useDashboardAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c793285

Please sign in to comment.