Skip to content

Refactor DocLink to use template literal for className #31

@MohamadSalman11

Description

@MohamadSalman11

Before You Submit

Describe the issue

The DocLink component currently stores className in a plain string:

const className =
  'text-primary hover:text-primary-light transition-colors duration-250 hover:border-primary-light border-b';

We can refactor this to use a template literal, keeping it in one line:

const className = `text-primary hover:text-primary-light transition-colors duration-250 hover:border-primary-light border-b`;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions