Skip to content

Commit 90a3ac4

Browse files
author
Thisyahlen
committed
chore: remove console log and fix pathname
1 parent db297a7 commit 90a3ac4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/UserNavbarItem/item.desktop.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,8 @@ const UserNavbarDesktopItem = ({ authUrl, is_logged_in }: IUserNavbarItemProps)
119119
loggedState === 'true' &&
120120
isOAuth2Enabled &&
121121
!isLoginAccountsPopulated &&
122-
window.location.pathname !== '/callback'
122+
!window.location.pathname.includes('callback')
123123
) {
124-
console.log('isLoginAccountsPopulated', !isLoginAccountsPopulated);
125-
126124
handleLogin();
127125
}
128126

0 commit comments

Comments
 (0)