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: default button type to all buttons #58

Merged
merged 2 commits into from
Dec 20, 2023
Merged

Conversation

aurorascharff
Copy link
Contributor

@aurorascharff aurorascharff commented Dec 20, 2023

Describe your changes

Add type="button" to all buttons that did not have the property specified. Buttons without a type can cause issues in some browsers or when used inside a form (unwanted submits).

Checklist before requesting a review

  • I have performed a self-review and test of my code
  • If new component: Is story for component created in stories-folder?
  • If new component: Is tsx-file import added to packages/react/index.tsx?
  • If new component: Is css-file added to packages/css/index.css?

@aurorascharff aurorascharff marked this pull request as ready for review December 20, 2023 07:56
@aurorascharff aurorascharff requested a review from a team as a code owner December 20, 2023 07:56
Copy link
Contributor

@Jaanesen Jaanesen left a comment

Choose a reason for hiding this comment

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

Bumper du version nr

@aurorascharff
Copy link
Contributor Author

Bumper du version nr

ugh, ja, takk

@aurorascharff aurorascharff merged commit 63e04de into main Dec 20, 2023
@aurorascharff aurorascharff deleted the fix-button-types branch December 21, 2023 10:50
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.

2 participants