Skip to content

P1B: Refactor (packages/ui/src/v2/components/tabs-v2.tsx): Found 16 lines of similar code in 2 locations (mass = 81) #160

Description

@yamj6

Uniqueness check

  • I have searched open issues and confirmed this file + smell is not already taken.

Full path to the Typescript file

packages/ui/src/v2/components/tabs-v2.tsx

Function(s)/scope targeted

function TabsV2Root(props: TabsV2Props)

Relevant Qlty output

packages/ui/src/v2/components/tabs-v2.tsx
  20  Found 16 lines of similar code in 2 locations (mass = 81)
        also found at packages/ui/src/components/tabs.tsx
  54  Found 19 lines of similar code in 2 locations (mass = 90)
        also found at packages/ui/src/components/tabs.tsx

Activity

  1. yamj6 commented on Sep 8, 2026

    @yamj6
    Author

    I would like to work on this please!

  2. github-actions commented on Sep 8, 2026

    @github-actions

    Great! I assigned you (@yamj6) to the issue. Have fun working on it!

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