Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using Astro.slots.render() breaks live editing #178

Closed
silveltman opened this issue Dec 8, 2023 · 1 comment
Closed

using Astro.slots.render() breaks live editing #178

silveltman opened this issue Dec 8, 2023 · 1 comment

Comments

@silveltman
Copy link

using Astro.slots.render() breaks live editing:

---
const slot = await Astro.slots.render('default')
---

{
  slot?.length > 4 && (
    <section>
      <slot />
    </section>
  )
}

using Astro.slots.has() also breaks live editing

@Tate-CC
Copy link
Contributor

Tate-CC commented Dec 23, 2023

Hi @silveltman!

This issue should be fixed by yesterday's release of Bookshop 3.9.0!

@Tate-CC Tate-CC closed this as completed Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants