Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(react-button): suppressDefaultClass warning #1740

Merged
merged 1 commit into from
May 15, 2023

Conversation

ju-Skinner
Copy link
Collaborator

@ju-Skinner ju-Skinner commented May 9, 2023

Description

Warning occurs when the property was being set on a HTML button

The conditional fixes that by checking if it's a Link component

fix: DSS-374

How to test

  1. Navigate to a page that has a React link button
  2. You should not see the warning any longer.

Warrning occurs when the property was being set on a HTML button

 The conditional fixes that by checking if it's a Link component

fix: DSS-374
@ju-Skinner ju-Skinner self-assigned this May 9, 2023
@ju-Skinner ju-Skinner requested a review from a team May 9, 2023 17:09
@ju-Skinner
Copy link
Collaborator Author

I know we closed this issue, but I forgot I already had a branch with the fix. If we still feel like we want to leave it to rest easy, then we can.

cc: @monicawheeler

Copy link
Member

@teenwolfblitzer teenwolfblitzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 🪓 🥇 you've defeated the kraken! they'll sing of this feat in valhalla

@teenwolfblitzer teenwolfblitzer requested a review from a team May 11, 2023 01:25
@ju-Skinner ju-Skinner merged commit b24abd5 into develop May 15, 2023
@ju-Skinner ju-Skinner deleted the fix/suppressDefaultClass-dom-warning branch May 15, 2023 16:29
@ju-Skinner ju-Skinner mentioned this pull request May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants