Skip to content

Commit

Permalink
fix: both login register page viewed event fires
Browse files Browse the repository at this point in the history
  • Loading branch information
syedsajjadkazmii committed Aug 13, 2024
1 parent e9fcfaf commit d534b8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/base-container/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import { NUDGE_PASSWORD_CHANGE } from '../forms/login-popup/data/constants';
import { loginErrorClear } from '../forms/login-popup/data/reducers';
import { clearAllRegistrationErrors } from '../forms/registration-popup/data/reducers';
import { forgotPasswordClearStatus } from '../forms/reset-password-popup/forgot-password/data/reducers';
import { setCurrentOpenedForm } from '../onboarding-component/data/reducers';

import './index.scss';

/**
Expand Down Expand Up @@ -47,6 +49,7 @@ const BaseContainer = ({
dispatch(forgotPasswordClearStatus());
dispatch(loginErrorClear());
dispatch(clearAllRegistrationErrors());
dispatch(setCurrentOpenedForm(null));
close();
};

Expand Down

0 comments on commit d534b8f

Please sign in to comment.