Skip to content

P1B: Refactor (packages/ui/src/v2/components/field-v2.tsx:192): Duplicated code in FieldPrefix and FieldSuffix #72

Description

@ayanfatima18

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/field-v2.tsx

Function(s)/scope targeted

FieldPrefix and FieldSuffix

Relevant Qlty output

packages/ui/src/v2/components/field-v2.tsx
 192  Found 23 lines of similar code in 2 locations (mass = 106)
        also found at packages/ui/src/v2/components/field-v2.tsx
 216  Found 23 lines of similar code in 2 locations (mass = 106)
        also found at packages/ui/src/v2/components/field-v2.tsx

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