Commit 6340deb2 authored by Vignesh Mohankumar's avatar Vignesh Mohankumar Committed by GitHub

chore: remove unused NFT redux user reducer state (#5753)

parent 28b154eb
...@@ -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({
......
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