Skip to content

Commit fb92a95

Browse files
authored
fix: add missing params property (#14012)
Was missing on the deepest leaf Fixes #14011
1 parent 53eff8a commit fb92a95

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/loud-eyes-beam.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@sveltejs/kit': patch
3+
---
4+
5+
fix: add missing params property

packages/kit/src/core/sync/write_root.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ export function write_root(manifest_data, output) {
2525
${
2626
isSvelte5Plus()
2727
? `<!-- svelte-ignore binding_property_non_reactive -->
28-
<Pyramid_${l} bind:this={components[${l}]} data={data_${l}} {form} />`
29-
: `<svelte:component this={constructors[${l}]} bind:this={components[${l}]} data={data_${l}} {form} />`
28+
<Pyramid_${l} bind:this={components[${l}]} data={data_${l}} {form} params={page.params} />`
29+
: `<svelte:component this={constructors[${l}]} bind:this={components[${l}]} data={data_${l}} {form} params={page.params} />`
3030
}`;
3131

3232
while (l--) {

0 commit comments

Comments
 (0)