From 3737d0ff99f90897a56ec7e4cbac36c8527f45f9 Mon Sep 17 00:00:00 2001 From: KillariDev Date: Tue, 2 Jan 2024 10:42:06 +0200 Subject: [PATCH 1/2] don't export BlockedIcon --- src/components/TokenSafety/TokenSafetyIcon.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/TokenSafety/TokenSafetyIcon.tsx b/src/components/TokenSafety/TokenSafetyIcon.tsx index a63b242e604..2c50139ac73 100644 --- a/src/components/TokenSafety/TokenSafetyIcon.tsx +++ b/src/components/TokenSafety/TokenSafetyIcon.tsx @@ -18,7 +18,7 @@ const WarningIcon = styled(AlertTriangle)` color: ${({ theme }) => theme.neutral3}; ` -export const BlockedIcon = styled(Slash)` +const BlockedIcon = styled(Slash)` ${WarningIconStyle} color: ${({ theme }) => theme.neutral2}; ` From d3e9f5c3d46d9bf49398428065ec3596995190d8 Mon Sep 17 00:00:00 2001 From: KillariDev Date: Tue, 2 Jan 2024 10:49:07 +0200 Subject: [PATCH 2/2] fix lints --- src/constants/networks.ts | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/src/constants/networks.ts b/src/constants/networks.ts index c8db52f4ce2..1b74095dcf2 100644 --- a/src/constants/networks.ts +++ b/src/constants/networks.ts @@ -112,26 +112,15 @@ export const FALLBACK_URLS = { * These are the URLs used by the interface when there is not another available source of chain data. */ export const RPC_URLS = { - [ChainId.MAINNET]: [ - `https://ethereum.keydonix.com/v1/mainnet`, - ...FALLBACK_URLS[ChainId.MAINNET], - ], + [ChainId.MAINNET]: [`https://ethereum.keydonix.com/v1/mainnet`, ...FALLBACK_URLS[ChainId.MAINNET]], [ChainId.GOERLI]: [`https://ethereum.keydonix.com/v1/goerli`, ...FALLBACK_URLS[ChainId.GOERLI]], [ChainId.SEPOLIA]: [...FALLBACK_URLS[ChainId.SEPOLIA]], [ChainId.OPTIMISM]: [...FALLBACK_URLS[ChainId.OPTIMISM]], - [ChainId.OPTIMISM_GOERLI]: [ - ...FALLBACK_URLS[ChainId.OPTIMISM_GOERLI], - ], - [ChainId.ARBITRUM_ONE]: [ - ...FALLBACK_URLS[ChainId.ARBITRUM_ONE], - ], - [ChainId.ARBITRUM_GOERLI]: [ - ...FALLBACK_URLS[ChainId.ARBITRUM_GOERLI], - ], + [ChainId.OPTIMISM_GOERLI]: [...FALLBACK_URLS[ChainId.OPTIMISM_GOERLI]], + [ChainId.ARBITRUM_ONE]: [...FALLBACK_URLS[ChainId.ARBITRUM_ONE]], + [ChainId.ARBITRUM_GOERLI]: [...FALLBACK_URLS[ChainId.ARBITRUM_GOERLI]], [ChainId.POLYGON]: [...FALLBACK_URLS[ChainId.POLYGON]], - [ChainId.POLYGON_MUMBAI]: [ - ...FALLBACK_URLS[ChainId.POLYGON_MUMBAI], - ], + [ChainId.POLYGON_MUMBAI]: [...FALLBACK_URLS[ChainId.POLYGON_MUMBAI]], [ChainId.CELO]: FALLBACK_URLS[ChainId.CELO], [ChainId.CELO_ALFAJORES]: FALLBACK_URLS[ChainId.CELO_ALFAJORES], [ChainId.BNB]: [...FALLBACK_URLS[ChainId.BNB]],