-
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.
feat(Jumio): add profile limit and trade processing time data to jumi…
…ostatus
- Loading branch information
plondon
committed
Jul 22, 2018
1 parent
193d9d4
commit 7330e22
Showing
3 changed files
with
47 additions
and
6 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
17 changes: 15 additions & 2 deletions
17
...chain-wallet-v4-frontend/src/scenes/BuySell/SfoxCheckout/Content/JumioStatus/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 |
---|---|---|
@@ -1,3 +1,16 @@ | ||
import { path } from 'ramda' | ||
import { lift, path } from 'ramda' | ||
import { selectors } from 'data' | ||
|
||
export const getData = state => path(['sfoxSignup', 'jumioStatus'])(state) | ||
export const getData = state => { | ||
const jumioStatusR = path(['sfoxSignup', 'jumioStatus'])(state) | ||
const profileR = selectors.core.data.sfox.getProfile(state) | ||
|
||
const transform = (jumioStatus, profile) => { | ||
return { | ||
jumioStatus, | ||
profile | ||
} | ||
} | ||
|
||
return lift(transform)(jumioStatusR, profileR) | ||
} |
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