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

[Copy,Hide]: Fix button types #936

Merged
merged 4 commits into from
Dec 8, 2022
Merged

[Copy,Hide]: Fix button types #936

merged 4 commits into from
Dec 8, 2022

Conversation

AbhinavMV
Copy link
Collaborator


name: 'Pull request'
about: A new pull request

New Pull Request

Checklist

  • I am not disclosing a vulnerability.
  • My code is conform the code style
  • I have made corresponding changes to the documentation
  • I have updated Typescript definitions when needed

Issue Description

When these Hide and copy buttons are used inside a Form they act as submit buttons by default.

Solution Description

These buttons would never be used for submit so solution is to give them type='button'

@changeset-bot
Copy link

changeset-bot bot commented Dec 6, 2022

🦋 Changeset detected

Latest commit: 6d5732f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@web3uikit/core Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Dec 6, 2022

size-limit report 📦

Path Size
packages/core/dist/index.js 291.34 KB (0%)
packages/icons/dist/index.es.js 128.56 KB (0%)
packages/web3/dist/index.js 1.46 MB (0%)
packages/web3uikit/dist/index.js 1.86 MB (0%)

Copy link
Contributor

@BillyG83 BillyG83 left a comment

Choose a reason for hiding this comment

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

LGTM

@AbhinavMV AbhinavMV merged commit b54c4d2 into master Dec 8, 2022
@AbhinavMV AbhinavMV deleted the fix/credentials branch December 8, 2022 09:42
@github-actions github-actions bot mentioned this pull request Dec 8, 2022
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