From ac29fcdfa13dd76f5303dd67ef95bc2a089abfb7 Mon Sep 17 00:00:00 2001 From: KillariDev Date: Tue, 2 Jan 2024 11:02:12 +0200 Subject: [PATCH] linting --- src/constants/tokens.ts | 7 ------- src/hooks/useIsNotOriginCountry.ts | 7 ------- 2 files changed, 14 deletions(-) delete mode 100644 src/hooks/useIsNotOriginCountry.ts diff --git a/src/constants/tokens.ts b/src/constants/tokens.ts index f09ead0a1ed..494493013fd 100644 --- a/src/constants/tokens.ts +++ b/src/constants/tokens.ts @@ -96,13 +96,6 @@ export const DAI_OPTIMISM = new Token( 'DAI', 'Dai stable coin' ) -export const MATIC = new Token( - ChainId.MAINNET, - '0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0', - 18, - 'MATIC', - 'Polygon Matic' -) export const DAI_POLYGON = new Token( ChainId.POLYGON, '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063', diff --git a/src/hooks/useIsNotOriginCountry.ts b/src/hooks/useIsNotOriginCountry.ts deleted file mode 100644 index fe66625dcd3..00000000000 --- a/src/hooks/useIsNotOriginCountry.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { useAppSelector } from 'state/hooks' -import { AppState } from 'state/reducer' - -export function useIsNotOriginCountry(country: string) { - const originCountry = useAppSelector((state: AppState) => state.user.originCountry) - return Boolean(originCountry) && originCountry !== country -}