Skip to content

Commit

Permalink
Merge pull request #338 from The-Code-Monkey/patch-1
Browse files Browse the repository at this point in the history
Added `type={"button"}` to anchors.js
  • Loading branch information
EtienneLem authored May 9, 2019
2 parents f654ef4 + af37a7a commit 75dfed0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/anchors.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export default class Anchors extends React.PureComponent {
aria-label={i18n.categories[id]}
title={i18n.categories[id]}
data-index={i}
type={'button'}
onClick={this.handleClick}
className={`emoji-mart-anchor ${
isSelected ? 'emoji-mart-anchor-selected' : ''
Expand Down

0 comments on commit 75dfed0

Please sign in to comment.