Commit 4708d3d3 authored by Vignesh Mohankumar's avatar Vignesh Mohankumar Committed by GitHub

fix: update InterfaceGqlChain syntax (#6892)

lint: update InterfaceGqlChain syntax
parent 27acddc0
...@@ -69,7 +69,7 @@ export const GQL_MAINNET_CHAINS = [ ...@@ -69,7 +69,7 @@ export const GQL_MAINNET_CHAINS = [
const GQL_TESTNET_CHAINS = [Chain.EthereumGoerli, Chain.EthereumSepolia] as const const GQL_TESTNET_CHAINS = [Chain.EthereumGoerli, Chain.EthereumSepolia] as const
const UX_SUPPORTED_GQL_CHAINS = [...GQL_MAINNET_CHAINS, ...GQL_TESTNET_CHAINS] 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 } = { export const CHAIN_ID_TO_BACKEND_NAME: { [key: number]: InterfaceGqlChain } = {
[SupportedChainId.MAINNET]: Chain.Ethereum, [SupportedChainId.MAINNET]: Chain.Ethereum,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment