Closed yunwu28 closed 3 months ago
className registered twice for Headings
<Heading4 className="class-name">{content}</Heading4>
component.find(".class-name");
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>
No. Our workaround is:
<Heading4 mb="0"> <span className="class-name">{content}</span> </Heading4>
N/A since we have a workaround
No response
Describe the bug
className registered twice for Headings
Steps to reproduce
component.find(".class-name");
Expected behaviour
Finds the dom node once (but it actually finds it twice)
Actual behaviour:
Is your team blocked from moving forward by the bug?
No. Our workaround is:
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