Skip to content

Commit

Permalink
Revert ":lipstick:"
Browse files Browse the repository at this point in the history
This reverts commit 1bcc52e.
  • Loading branch information
EtienneLem committed Mar 28, 2019
1 parent 1bcc52e commit abc2cda
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/components/emoji/nimble-emoji.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,26 +25,29 @@ const _getSanitizedData = (props) => {
}

const _handleClick = (e, props) => {
if (!props.onClick) { return }

if (!props.onClick) {
return
}
var { onClick } = props,
emoji = _getSanitizedData(props)

onClick(emoji, e)
}

const _handleOver = (e, props) => {
if (!props.onOver) { return }

if (!props.onOver) {
return
}
var { onOver } = props,
emoji = _getSanitizedData(props)

onOver(emoji, e)
}

const _handleLeave = (e, props) => {
if (!props.onLeave) { return }

if (!props.onLeave) {
return
}
var { onLeave } = props,
emoji = _getSanitizedData(props)

Expand Down

0 comments on commit abc2cda

Please sign in to comment.