Merged in fix/SW-3381-move-loginbutton-to-design-syste (pull request #2780)

fix(SW-3381): Fixed login redirect URL

* fix(SW-3381): Fixed login redirect URL


Approved-by: Anton Gunnarsson
This commit is contained in:
Hrishikesh Vaipurkar
2025-09-10 06:51:10 +00:00
parent 4550ddec53
commit e95d316f52
3 changed files with 3 additions and 3 deletions
@@ -43,7 +43,7 @@ export function MainMenu({
const lang = useLang()
const pathname = usePathname()
const baseUrl = env.NEXT_PUBLIC_PUBLIC_URL || "https://www.scandichotels.com"
const loginPathname = useLazyPathname()
const loginPathname = useLazyPathname({ includeSearchParams: true })
const isThreeStaticPagesPathnames = [
"/de/sponsoring",