fix modal showing for existing users, fix previous merge, remove console

This commit is contained in:
Jeremy Kauffman 2017-07-21 18:06:39 -04:00
parent c67fe5aae6
commit 343fadb462
3 changed files with 2 additions and 6 deletions

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