Merge pull request #338 from The-Code-Monkey/patch-1

Added `type={"button"}` to anchors.js
nolan/issue-327
Etienne Lemay 2019-05-09 11:32:59 -04:00 committed by GitHub
commit 75dfed01f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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' : ''