Skip to content

Commit

Permalink
chore: remove console log and fix pathname
Browse files Browse the repository at this point in the history
  • Loading branch information
Thisyahlen committed Dec 9, 2024
1 parent db297a7 commit 90a3ac4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/UserNavbarItem/item.desktop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,8 @@ const UserNavbarDesktopItem = ({ authUrl, is_logged_in }: IUserNavbarItemProps)
loggedState === 'true' &&
isOAuth2Enabled &&
!isLoginAccountsPopulated &&
window.location.pathname !== '/callback'
!window.location.pathname.includes('callback')
) {
console.log('isLoginAccountsPopulated', !isLoginAccountsPopulated);

handleLogin();
}

Expand Down

0 comments on commit 90a3ac4

Please sign in to comment.