Skip to content

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

@coderabbitai

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

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