Skip to content

Commit

Permalink
fix: redirects (#2211) (#2212)
Browse files Browse the repository at this point in the history
  • Loading branch information
Izobov authored Jun 22, 2024
1 parent 70d591e commit 7fc70ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/utils/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export async function logoutUser
redirectLink = `/${userLang == 'en' || userLang == undefined ? '' : userLang}`
;

if (currentRouteId != 'AuthorsPage')
if (currentRouteId === "Standard" || currentRouteId === "ProfilePage")
await gotoSW
(
redirectLink,
Expand Down

0 comments on commit 7fc70ba

Please sign in to comment.