Skip to content

In Astro 7, return statement causes failure #8963

Description

@jlengstorf

As of Astro 7, the @clerk/astro package throws an error for components rendered using the MenuItemRenderer.astro component due to a return statement outside of a function:

I was able to circumvent the problem by commenting out this return statement, but it feels like there might be some unintended issues if the code is supposed to stop executing but continues past this point.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions