Skip to content

Commit 64584cc

Browse files
authored
[fix] pass form prop to pages (#6611)
Fixes #6610 Was not passed to pages in all situations
1 parent a180be9 commit 64584cc

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/nine-sheep-grab.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] pass `form` prop to pages

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function write_root(manifest_data, output) {
2121

2222
let l = max_depth;
2323

24-
let pyramid = `<svelte:component this={components[${l}]} data={data_${l}} />`;
24+
let pyramid = `<svelte:component this={components[${l}]} data={data_${l}} {form} />`;
2525

2626
while (l--) {
2727
pyramid = `

0 commit comments

Comments
 (0)