Skip to content

Remove unused className prop from AnchorTitle component #3835

@Lalit7374

Description

@Lalit7374

The AnchorTitle component defines an optional className prop in AnchorTitleProps, but this prop is never used inside the component.

This triggers Sonar rule typescript:S6767 and is reported as a minor code smell affecting maintainability.

File: frontend/src/components/AnchorTitle.tsx
Line: 7

Expected Behavior
Either remove the unused className prop or apply it to the root element.

Proposed Fix
Remove className from AnchorTitleProps since it’s not currently consumed.

I’d be happy to submit a PR for this if approved.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions