fix: update InterfaceGqlChain syntax (#6892)

lint: update InterfaceGqlChain syntax
This commit is contained in:
Vignesh Mohankumar 2023-07-06 12:31:15 -04:00 committed by GitHub
parent 27acddc0e7
commit 4708d3d3d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -69,7 +69,7 @@ export const GQL_MAINNET_CHAINS = [
const GQL_TESTNET_CHAINS = [Chain.EthereumGoerli, Chain.EthereumSepolia] as const
const UX_SUPPORTED_GQL_CHAINS = [...GQL_MAINNET_CHAINS, ...GQL_TESTNET_CHAINS] as const
export type InterfaceGqlChain = typeof UX_SUPPORTED_GQL_CHAINS[number]
export type InterfaceGqlChain = (typeof UX_SUPPORTED_GQL_CHAINS)[number]
export const CHAIN_ID_TO_BACKEND_NAME: { [key: number]: InterfaceGqlChain } = {
[SupportedChainId.MAINNET]: Chain.Ethereum,