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
5ea7b1de
Unverified
Commit
5ea7b1de
authored
Feb 22, 2023
by
Jack Short
Committed by
GitHub
Feb 22, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: enable pay with any token (#6002)
parent
6efe8f32
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
gqlRouting.ts
src/featureFlags/flags/gqlRouting.ts
+1
-1
payWithAnyToken.ts
src/featureFlags/flags/payWithAnyToken.ts
+1
-1
No files found.
src/featureFlags/flags/gqlRouting.ts
View file @
5ea7b1de
import
{
BaseVariant
,
FeatureFlag
,
useBaseFlag
}
from
'
../index
'
import
{
BaseVariant
,
FeatureFlag
,
useBaseFlag
}
from
'
../index
'
export
function
useGqlRoutingFlag
():
BaseVariant
{
export
function
useGqlRoutingFlag
():
BaseVariant
{
return
useBaseFlag
(
FeatureFlag
.
gqlRouting
)
return
useBaseFlag
(
FeatureFlag
.
gqlRouting
,
BaseVariant
.
Enabled
)
}
}
export
{
BaseVariant
as
GqlRoutingVariant
}
export
{
BaseVariant
as
GqlRoutingVariant
}
src/featureFlags/flags/payWithAnyToken.ts
View file @
5ea7b1de
...
@@ -4,7 +4,7 @@ import { useWeb3React } from '@web3-react/core'
...
@@ -4,7 +4,7 @@ import { useWeb3React } from '@web3-react/core'
import
{
BaseVariant
,
FeatureFlag
,
useBaseFlag
}
from
'
../index
'
import
{
BaseVariant
,
FeatureFlag
,
useBaseFlag
}
from
'
../index
'
export
function
usePayWithAnyTokenFlag
():
BaseVariant
{
export
function
usePayWithAnyTokenFlag
():
BaseVariant
{
return
useBaseFlag
(
FeatureFlag
.
payWithAnyToken
)
return
useBaseFlag
(
FeatureFlag
.
payWithAnyToken
,
BaseVariant
.
Enabled
)
}
}
export
function
usePayWithAnyTokenEnabled
():
boolean
{
export
function
usePayWithAnyTokenEnabled
():
boolean
{
...
...
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