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({ dispatch({
type: types.CHANGE_AFTER_AUTH_PATH, type: types.CHANGE_AFTER_AUTH_PATH,
data: { data: {
path: `${pathAfterAuth}?${queryStringFromParams(params)}`, path: `${pathAfterAuth}?${toQueryString(params)}`,
}, },
}); });
} }
@ -248,8 +248,6 @@ export function doCheckDaemonVersion() {
export function doAlertError(errorList) { export function doAlertError(errorList) {
return function(dispatch, getState) { return function(dispatch, getState) {
const state = getState(); const state = getState();
console.log("do alert error");
console.log(errorList);
dispatch({ dispatch({
type: types.OPEN_MODAL, type: types.OPEN_MODAL,
data: { data: {

View file

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

View file

@ -24,8 +24,6 @@ class UserEmailVerify extends React.PureComponent {
render() { render() {
const { errorMessage, isPending } = this.props; const { errorMessage, isPending } = this.props;
console.log("user email verify render");
console.log(this.props);
return ( return (
<form <form
onSubmit={event => { onSubmit={event => {