Merged in chore/upgrade-to-next16 (pull request #3305)

chore(SW-3665): Upgrade to Next 16

* Upgrade partner-sas

* Upgrade scandic-web to next 16

* Update peerDep versions

* Fix revalidateTag

* Remove comment

* Merge branch 'master' into chore/upgrade-to-next16

* Update netlify adapter

* Build with webpack instead of turbopack

* Revert from proxy to middleware

* Merge branch 'master' into chore/upgrade-to-next16

* Revert proxy type

* Fix react types versions

* 16.0.9

* Bump to 16.0.10


Approved-by: Linus Flood
This commit is contained in:
Anton Gunnarsson
2025-12-12 09:17:15 +00:00
parent 7d021f8e40
commit e5149846e5
41 changed files with 417 additions and 224 deletions

View File

@@ -96,6 +96,7 @@ export default function Form({ user }: EditFormProps) {
utils.user.get.invalidate()
if (isPasswordChanged) {
// Kept logout out of Next router forcing browser to navigate on logout url
// eslint-disable-next-line react-hooks/immutability
window.location.href = logout[lang]
} else {
const myStayReturnRoute = sessionStorage.getItem("myStayReturnRoute")