Skip to content

Commit

Permalink
revert change
Browse files Browse the repository at this point in the history
  • Loading branch information
yunakim714 committed Jan 22, 2025
1 parent dde5352 commit e0cb754
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ const Login = ({initialView = LOGIN_VIEW}) => {
// executing a passwordless login attempt using the token. The process waits for the
// customer baskets to be loaded to guarantee proper basket merging.
useEffect(() => {
if (path === PASSWORDLESS_LOGIN_LANDING_PATH) {
if (path === PASSWORDLESS_LOGIN_LANDING_PATH && isSuccessCustomerBaskets) {
const token = queryParams.get('token')

const passwordlessLogin = async () => {
Expand Down

0 comments on commit e0cb754

Please sign in to comment.