Skip to content

Extract custom props in ProfileLink component to avoid invalid HTML attributes #149

Description

@coderabbitai

The ProfileLink component currently spreads all props to the button element, including custom props like subNav and returnUrl that are not valid HTML button attributes. This should be refactored to explicitly extract these custom props before spreading the remaining valid HTML attributes.

Context:

Acceptance Criteria:

  • Custom props (subNav, returnUrl) should be extracted from props
  • Only valid HTML button attributes should be spread to the button element
  • Component functionality should remain unchanged

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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