nulogy / design-system

Nulogy Design System
http://nulogy.design
MIT License
64 stars 13 forks source link

className registered twice for Heading3 #1381

Closed yunwu28 closed 3 months ago

yunwu28 commented 3 months ago

Describe the bug

className registered twice for Headings

Steps to reproduce

Expected behaviour

Finds the dom node once (but it actually finds it twice)

Actual behaviour:

<h4 class="Text-sc-15glbbx-0 Headings__Heading4-sc-7kwh7g-3 kMFrgD class-name class-name">content</h4>

Is your team blocked from moving forward by the bug?

No. Our workaround is:

<Heading4 mb="0">
  <span className="class-name">{content}</span>
</Heading4>

Who would you like to fix the bug?

When do you need this by?

N/A since we have a workaround

Helpful resources

No response

Additional context

No response