Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
4708d3d3
Unverified
Commit
4708d3d3
authored
Jul 06, 2023
by
Vignesh Mohankumar
Committed by
GitHub
Jul 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: update InterfaceGqlChain syntax (#6892)
lint: update InterfaceGqlChain syntax
parent
27acddc0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
util.tsx
src/graphql/data/util.tsx
+1
-1
No files found.
src/graphql/data/util.tsx
View file @
4708d3d3
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment