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
We have a setup like this: /[lang]/path1, /[lang]/path2, etc...
In layout.ts we get the lang from params, so we can fetch other stuff.
But when a page is not found, params is now an empty object.
This broke in v432 (#6174)
Describe the bug
We have a setup like this:
/[lang]/path1
,/[lang]/path2
, etc...In
layout.ts
we get thelang
fromparams
, so we can fetch other stuff.But when a page is not found,
params
is now an empty object.This broke in v432 (#6174)
Reproduction
npm create svelte@latest repro-6453
src/routes/[test]
+page
intosrc/routes/[test]
+layout.ts
tosrc/routes
npm run dev
Logs
No response
System Info
Severity
blocking an upgrade
Additional Information
No response
The text was updated successfully, but these errors were encountered: