Files
learning-lab-express/src/components
Iqbal 7a51f35ec4 Keep scrollTo's Promise out of the route-change effect
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>
2026-10-30 10:25:59 +07:00
..
2026-10-23 10:42:12 +07:00