-
Notifications
You must be signed in to change notification settings - Fork 504
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Swap): go to exchange buttons for banner and what's new
- Loading branch information
1 parent
2170ebc
commit 22e2bab
Showing
14 changed files
with
310 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 10 additions & 8 deletions
18
packages/blockchain-wallet-v4-frontend/src/data/preferences/actionTypes.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
export const SET_CULTURE = 'SET_CULTURE' | ||
export const SET_LANGUAGE = 'SET_LANGUAGE' | ||
export const SET_THEME = 'SET_THEME' | ||
export const TOGGLE_COIN_DISPLAY = 'TOGGLE_COIN_DISPLAY' | ||
export const SET_COIN_SHOW_INTRO = 'SET_COIN_SHOW_INTRO' | ||
export const HIDE_KYC_COMPLETED = 'HIDE_KYC_COMPLETED' | ||
export const SET_TOTAL_BALANCES_DROPDOWN = 'SET_TOTAL_BALANCES_DROPDOWN' | ||
export const SET_CULTURE = '@DATA.PREFERENCES.SET_CULTURE' | ||
export const SET_LANGUAGE = '@DATA.PREFERENCES.SET_LANGUAGE' | ||
export const SET_THEME = '@DATA.PREFERENCES.SET_THEME' | ||
export const TOGGLE_COIN_DISPLAY = '@DATA.PREFERENCES.TOGGLE_COIN_DISPLAY' | ||
export const SET_COIN_SHOW_INTRO = '@DATA.PREFERENCES.SET_COIN_SHOW_INTRO' | ||
export const HIDE_KYC_COMPLETED = '@DATA.PREFERENCES.HIDE_KYC_COMPLETED' | ||
export const SET_TOTAL_BALANCES_DROPDOWN = | ||
'@DATA.PREFERENCES.SET_TOTAL_BALANCES_DROPDOWN' | ||
|
||
export const HIDE_KYC_GET_STARTED = 'HIDE_KYC_GET_STARTED' | ||
export const HIDE_KYC_GET_STARTED = '@DATA.PREFERENCES.HIDE_KYC_GET_STARTED' | ||
export const HIDE_SWAP_BANNER = '@DATA.PREFERENCES.HIDE_SWAP_BANNER' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...ain-wallet-v4-frontend/src/layouts/Wallet/TrayRight/WhatsNew/WhatsNewContent/selectors.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { equals } from 'ramda' | ||
|
||
import { selectors, model } from 'data' | ||
|
||
const { NONE } = model.profile.KYC_STATES | ||
|
||
export const getData = state => ({ | ||
kycNotFinished: selectors.modules.profile | ||
.getUserKYCState(state) | ||
.map(equals(NONE)) | ||
.getOrElse(false) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.