Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
abarthell committed Sep 21, 2023
1 parent e71f896 commit 711854d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/constants/chainInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ const CHAIN_INFO: ChainInfoMap = {
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
color: '#0152ff',
backgroundColor: '#0152ff',
}
},
}

export function getChainInfo(chainId: SupportedL1ChainId): L1ChainInfo
Expand Down
8 changes: 2 additions & 6 deletions src/constants/routing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import {
sETH2,
SWISE,
TRIBE,
USDC_BNB_CHAIN,
USDC_BASE,
USDC_BNB_CHAIN,
USDC_MAINNET,
USDC_POLYGON,
USDT,
Expand Down Expand Up @@ -94,11 +94,7 @@ export const BASES_TO_CHECK_TRADES_AGAINST: ChainTokenList = {
USDT_BNB_CHAIN,
...WRAPPED_NATIVE_CURRENCIES_ONLY[SupportedChainId.BNB],
],
[SupportedChainId.BASE]: [
...WRAPPED_NATIVE_CURRENCIES_ONLY[SupportedChainId.BASE],
DAI_BASE,
USDC_BASE,
],
[SupportedChainId.BASE]: [...WRAPPED_NATIVE_CURRENCIES_ONLY[SupportedChainId.BASE], DAI_BASE, USDC_BASE],
}
export const ADDITIONAL_BASES: { [chainId: number]: { [tokenAddress: string]: Token[] } } = {
[SupportedChainId.MAINNET]: {
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useStablecoinAmountFromFiatValue.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CurrencyAmount, Token } from '@uniswap/sdk-core'
import { useWeb3React } from '@web3-react/core'
import { SupportedChainId } from 'constants/chains'
import { CUSD_CELO, DAI_OPTIMISM, USDC_ARBITRUM, USDC_MAINNET, USDC_POLYGON, USDC_BASE } from 'constants/tokens'
import { CUSD_CELO, DAI_OPTIMISM, USDC_ARBITRUM, USDC_BASE, USDC_MAINNET, USDC_POLYGON } from 'constants/tokens'
import { useMemo } from 'react'
import tryParseCurrencyAmount from 'utils/tryParseCurrencyAmount'

Expand Down

0 comments on commit 711854d

Please sign in to comment.