In ReduxIsland, pass the props through to the child component.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -4,4 +4,4 @@ import "use-sync-external-store/with-selector.js" | ... | @@ -4,4 +4,4 @@ import "use-sync-external-store/with-selector.js" |
4 | 4 | ||
5 | const { props, locals: { store } } = Astro | 5 | const { props, locals: { store } } = Astro |
6 | --- | 6 | --- |
7 | {await Astro.slots.render('default', [{ASTRO_STORE: store}])} | 7 | {await Astro.slots.render('default', [{...props, ASTRO_STORE: store}])} | ... | ... |
-
Please register or sign in to post a comment