Skip to content

remarkCodeHike fails if there's a mdxJsxFlowElement without children #468

Closed
@pomber

Description

@pomber

It shouldn't happen because children should always be an array, but I saw it happen with fumadocs-mdx v8.2.26.

Just need to replace children.some() with children?.some().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions