Skip to content

DocViewer props are getting spread onto a styled div which is causing console warnings #165

@Spenc84

Description

@Spenc84

As stated in the description, DocViewer's component props are getting spread into a styled div on line 45 of src/index.tsx. This seems both unnecessary and unintended. After upgrading to React 19 we're now getting warnings in the console from both Styled and React to avoid assigning unsupported props to a div.

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