Added `type={"button"}` to anchors.js

release
The-Code-Monkey 2019-05-01 15:32:02 +01:00 committed by GitHub
parent f654ef4050
commit 0cfb0787ab
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' : ''