Skip to content

Commit

Permalink
chore: fixed window not loading for new user
Browse files Browse the repository at this point in the history
  • Loading branch information
ameerul-deriv committed Mar 21, 2023
1 parent d26de39 commit 2123417
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/src/Stores/client-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -1561,7 +1561,6 @@ export default class ClientStore extends BaseStore {
'_filteredParams',
];

this.setIsLoggingIn(true);
const authorize_response = await this.setUserLogin(login_new_user);

if (action_param === 'signup') {
Expand Down Expand Up @@ -2168,6 +2167,8 @@ export default class ClientStore extends BaseStore {
const is_client_logging_in = login_new_user ? login_new_user.token1 : obj_params.token1;

if (is_client_logging_in) {
this.setIsLoggingIn(true);

const redirect_url = sessionStorage.getItem('redirect_url');
const local_pre_appstore = localStorage.getItem('is_pre_appstore');
if (
Expand Down

0 comments on commit 2123417

Please sign in to comment.