Skip to content

Commit

Permalink
[fix] pass form prop to pages (#6611)
Browse files Browse the repository at this point in the history
Fixes #6610
Was not passed to pages in all situations
  • Loading branch information
dummdidumm authored Sep 6, 2022
1 parent a180be9 commit 64584cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/nine-sheep-grab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

[fix] pass `form` prop to pages
2 changes: 1 addition & 1 deletion packages/kit/src/core/sync/write_root.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function write_root(manifest_data, output) {

let l = max_depth;

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

while (l--) {
pyramid = `
Expand Down

0 comments on commit 64584cc

Please sign in to comment.