You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
Describe the bug
If you are on a 404 page handled by Sapper and your code (e.g. in the _layout.svelte file) updates the session store, you'll notice a TypeError in your console logs.
Logs
Uncaught (in promise) TypeError: Cannot destructure property 'route' of 'dest' as it is undefined.
Describe the bug
If you are on a
404
page handled by Sapper and your code (e.g. in the_layout.svelte
file) updates thesession
store, you'll notice aTypeError
in your console logs.Logs
To Reproduce
https://github.com/AaronDDM/sapper-store-update-bug/blob/main/src/routes/_layout.svelte
npm run dev
Expected behavior
No type error.
Stacktraces
If you have a stack trace to include, we recommend putting inside a
<details>
block for the sake of the thread's readability:Stack trace
The text was updated successfully, but these errors were encountered: