Skip to content

Commit

Permalink
fix(Tag): set button type to avoid form submissions (#6610)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
emyarod and kodiakhq[bot] authored Aug 4, 2020
1 parent 5e838ea commit f5d666f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react/src/components/Tag/Tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const Tag = ({
{children !== null && children !== undefined ? children : TYPES[type]}
</span>
<button
type="button"
className={`${prefix}--tag__close-icon`}
onClick={handleClose}
disabled={disabled}
Expand Down

0 comments on commit f5d666f

Please sign in to comment.