Add identity verification to app #366
3 changed files with 2 additions and 6 deletions
|
@ -39,7 +39,7 @@ export function doAuthNavigate(pathAfterAuth = null, params = {}) {
|
|||
dispatch({
|
||||
type: types.CHANGE_AFTER_AUTH_PATH,
|
||||
data: {
|
||||
path: `${pathAfterAuth}?${queryStringFromParams(params)}`,
|
||||
path: `${pathAfterAuth}?${toQueryString(params)}`,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
@ -248,8 +248,6 @@ export function doCheckDaemonVersion() {
|
|||
export function doAlertError(errorList) {
|
||||
return function(dispatch, getState) {
|
||||
const state = getState();
|
||||
console.log("do alert error");
|
||||
console.log(errorList);
|
||||
dispatch({
|
||||
type: types.OPEN_MODAL,
|
||||
data: {
|
||||
|
|
|
@ -48,7 +48,7 @@ class App extends React.PureComponent {
|
|||
if (
|
||||
!isWelcomeAcknowledged &&
|
||||
user &&
|
||||
(!isFetchingRewards || !isWelcomeRewardClaimed)
|
||||
(isFetchingRewards === false && isWelcomeRewardClaimed === false)
|
||||
) {
|
||||
openWelcomeModal();
|
||||
}
|
||||
|
|
|
@ -24,8 +24,6 @@ class UserEmailVerify extends React.PureComponent {
|
|||
|
||||
render() {
|
||||
const { errorMessage, isPending } = this.props;
|
||||
console.log("user email verify render");
|
||||
console.log(this.props);
|
||||
return (
|
||||
<form
|
||||
onSubmit={event => {
|
||||
|
|
Loading…
Reference in a new issue