Add identity verification to app #366

Merged
kauffj merged 15 commits from rewards3 into master 2017-07-25 01:02:40 +02:00
3 changed files with 2 additions and 6 deletions
Showing only changes of commit 343fadb462 - Show all commits

View file

@ -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: {

View file

@ -48,7 +48,7 @@ class App extends React.PureComponent {
if (
!isWelcomeAcknowledged &&
user &&
(!isFetchingRewards || !isWelcomeRewardClaimed)
(isFetchingRewards === false && isWelcomeRewardClaimed === false)
) {
openWelcomeModal();
}

View file

@ -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 => {