From 194464bd71aa16656d3df1b3046a5f17d68eb5d6 Mon Sep 17 00:00:00 2001 From: jessop Date: Mon, 14 Oct 2019 15:54:06 -0400 Subject: [PATCH] provides recheck button at verification screen --- src/ui/component/userVerify/index.js | 2 ++ src/ui/component/userVerify/view.jsx | 4 +++- static/app-strings.json | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ui/component/userVerify/index.js b/src/ui/component/userVerify/index.js index 11fa30c32..312d05dad 100644 --- a/src/ui/component/userVerify/index.js +++ b/src/ui/component/userVerify/index.js @@ -3,6 +3,7 @@ import { connect } from 'react-redux'; import { doOpenModal } from 'redux/actions/app'; import { doUserIdentityVerify, + doUserFetch, rewards, makeSelectRewardByType, selectIdentityVerifyIsPending, @@ -23,6 +24,7 @@ const select = state => { const perform = dispatch => ({ verifyUserIdentity: token => dispatch(doUserIdentityVerify(token)), verifyPhone: () => dispatch(doOpenModal(MODALS.PHONE_COLLECTION)), + fetchUser: () => dispatch(doUserFetch()), }); export default connect( diff --git a/src/ui/component/userVerify/view.jsx b/src/ui/component/userVerify/view.jsx index bf03860e7..d2bd095f1 100644 --- a/src/ui/component/userVerify/view.jsx +++ b/src/ui/component/userVerify/view.jsx @@ -11,6 +11,7 @@ type Props = { isPending: boolean, verifyUserIdentity: string => void, verifyPhone: () => void, + fetchUser: () => void, }; class UserVerify extends React.PureComponent { @@ -25,7 +26,7 @@ class UserVerify extends React.PureComponent { } render() { - const { errorMessage, isPending, verifyPhone } = this.props; + const { errorMessage, isPending, verifyPhone, fetchUser } = this.props; return (
@@ -34,6 +35,7 @@ class UserVerify extends React.PureComponent { {__( "We weren't able to auto-approve you for rewards. Please complete one of the steps below to unlock them." )}{' '} +
diff --git a/static/app-strings.json b/static/app-strings.json index 543e9faa7..5d2e7f0bc 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -814,4 +814,4 @@ "This feature is not yet available for wallets with balances, but the gerbils are working on it.": "This feature is not yet available for wallets with balances, but the gerbils are working on it.", "I Understand": "I Understand", "No modifier provided after separator %modSeperator%.": "No modifier provided after separator %modSeperator%." -} \ No newline at end of file +}