You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Astro extensions formatter seems to expect elements inside expressions to be wrapped in a single element just like JSX. The code however compiles fine and displays the correct elements without using a wrapper element.
Describe the Bug
The Astro extensions formatter seems to expect elements inside expressions to be wrapped in a single element just like JSX. The code however compiles fine and displays the correct elements without using a wrapper element.
For example, this compiles and displays fine
However, the extension fails to format this and gives the following error message.
Wrapping the cards components in a fragment results in the correct formatting.
Steps to Reproduce
Link to Minimal Reproducible Example
https://github.com/Trombach/withastro-astro-fmqmba/blob/main/src/pages/formatting.astro
The text was updated successfully, but these errors were encountered: