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
6340deb2
Unverified
Commit
6340deb2
authored
Dec 20, 2022
by
Vignesh Mohankumar
Committed by
GitHub
Dec 20, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: remove unused NFT redux user reducer state (#5753)
parent
28b154eb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
reducer.ts
src/state/user/reducer.ts
+0
-5
No files found.
src/state/user/reducer.ts
View file @
6340deb2
...
@@ -50,12 +50,9 @@ export interface UserState {
...
@@ -50,12 +50,9 @@ export interface UserState {
timestamp
:
number
timestamp
:
number
URLWarningVisible
:
boolean
URLWarningVisible
:
boolean
hideNFTPromoBanner
:
boolean
// whether or not we should hide the nft explore promo banner
// undefined means has not gone through A/B split yet
// undefined means has not gone through A/B split yet
showSurveyPopup
:
boolean
|
undefined
showSurveyPopup
:
boolean
|
undefined
hideNFTWelcomeModal
:
boolean
}
}
function
pairKey
(
token0Address
:
string
,
token1Address
:
string
)
{
function
pairKey
(
token0Address
:
string
,
token1Address
:
string
)
{
...
@@ -78,9 +75,7 @@ export const initialState: UserState = {
...
@@ -78,9 +75,7 @@ export const initialState: UserState = {
pairs
:
{},
pairs
:
{},
timestamp
:
currentTimestamp
(),
timestamp
:
currentTimestamp
(),
URLWarningVisible
:
true
,
URLWarningVisible
:
true
,
hideNFTPromoBanner
:
false
,
showSurveyPopup
:
undefined
,
showSurveyPopup
:
undefined
,
hideNFTWelcomeModal
:
false
,
}
}
const
userSlice
=
createSlice
({
const
userSlice
=
createSlice
({
...
...
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