nolan/issue-325
Etienne Lemay 2019-03-28 08:22:30 -04:00
parent 5f065d4793
commit 1bcc52e587
No known key found for this signature in database
GPG Key ID: EE7CF89146BB28E9
1 changed files with 6 additions and 9 deletions

View File

@ -25,9 +25,8 @@ const _getSanitizedData = (props) => {
}
const _handleClick = (e, props) => {
if (!props.onClick) {
return
}
if (!props.onClick) { return }
var { onClick } = props,
emoji = _getSanitizedData(props)
@ -35,9 +34,8 @@ const _handleClick = (e, props) => {
}
const _handleOver = (e, props) => {
if (!props.onOver) {
return
}
if (!props.onOver) { return }
var { onOver } = props,
emoji = _getSanitizedData(props)
@ -45,9 +43,8 @@ const _handleOver = (e, props) => {
}
const _handleLeave = (e, props) => {
if (!props.onLeave) {
return
}
if (!props.onLeave) { return }
var { onLeave } = props,
emoji = _getSanitizedData(props)