Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improved component for render payments
- Loading branch information
Showing
27 changed files
with
339 additions
and
168 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
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
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
7 changes: 2 additions & 5 deletions
7
packages/blockchain-wallet-v4-frontend/src/modals/SimpleBuy/CryptoSelection/selectors.ts
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,24 +1,21 @@ | ||
import { ExtractSuccess, SupportedWalletCurrenciesType } from 'core/types' | ||
import { ExtractSuccess } from 'core/types' | ||
import { lift } from 'ramda' | ||
import { selectors } from 'data' | ||
|
||
export const getData = state => { | ||
const eligibilityR = selectors.components.simpleBuy.getSBFiatEligible(state) | ||
const pairsR = selectors.components.simpleBuy.getSBPairs(state) | ||
const supportedCoinsR = selectors.core.walletOptions.getSupportedCoins(state) | ||
const userDataR = selectors.modules.profile.getUserData(state) | ||
|
||
return lift( | ||
( | ||
eligibility: ExtractSuccess<typeof eligibilityR>, | ||
pairs: ExtractSuccess<typeof pairsR>, | ||
supportedCoins: SupportedWalletCurrenciesType, | ||
userData: ExtractSuccess<typeof userDataR> | ||
) => ({ | ||
eligibility, | ||
pairs, | ||
supportedCoins, | ||
userData | ||
}) | ||
)(eligibilityR, pairsR, supportedCoinsR, userDataR) | ||
)(eligibilityR, pairsR, userDataR) | ||
} |
Oops, something went wrong.