Skip to content

Commit

Permalink
fix: swtich to block-subgraph
Browse files Browse the repository at this point in the history
  • Loading branch information
viet-nv committed Aug 2, 2023
1 parent 187233a commit a780388
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/components/TxnList/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,11 +299,11 @@ function TxnList({ transactions, symbol0Override, symbol1Override, color }) {
valueToCompareA = parseFloat(a[sortedColumn])
valueToCompareB = parseFloat(b[sortedColumn])
}
if (valueToCompareA > valueToCompareB) return (sortDirection ? -1 : 1) * 1
if (valueToCompareA < valueToCompareB) return (sortDirection ? -1 : 1) * -1
if (valueToCompareA > valueToCompareB) return (sortDirection ? -1 : 1) * -1
if (valueToCompareA < valueToCompareB) return (sortDirection ? -1 : 1) * 1

if (a.timestamp < b.timestamp) return 1
if (a.timestamp > b.timestamp) return -1
if (a.timestamp < b.timestamp) return -1
if (a.timestamp > b.timestamp) return 1

if (a.amountUSD < b.amountUSD) return 1
if (a.amountUSD > b.amountUSD) return -1
Expand Down
2 changes: 1 addition & 1 deletion src/constants/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ export const NETWORKS_INFO: { [key in ChainId]: NETWORK_INFO } = {
nativeTokenLogo: EthereumLogo,
etherscanLinkText: 'LINEA Explorer',
tokensListUrl: 'https://raw.githubusercontent.com/KyberNetwork/ks-assets/main/tokenLists/linea.tokenlist.json',
isEnableBlockService: true,
isEnableBlockService: false,
},
}

Expand Down

0 comments on commit a780388

Please sign in to comment.