Chrome's window.scrollTo now returns a Promise. The effect that opens each page at the top returned it, so React kept it as the cleanup and called it on the next route change: "TypeError: Z is not a function", which unmounted the whole app until a reload. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>