From abc2cdaf02a4a263b8aeaa940e993c3613552437 Mon Sep 17 00:00:00 2001 From: Etienne Lemay Date: Thu, 28 Mar 2019 08:56:50 -0400 Subject: [PATCH] Revert ":lipstick:" This reverts commit 1bcc52e5875c1654c219650264c1d9523c1773c9. --- src/components/emoji/nimble-emoji.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/components/emoji/nimble-emoji.js b/src/components/emoji/nimble-emoji.js index 67875e682..13f601722 100644 --- a/src/components/emoji/nimble-emoji.js +++ b/src/components/emoji/nimble-emoji.js @@ -25,8 +25,9 @@ const _getSanitizedData = (props) => { } const _handleClick = (e, props) => { - if (!props.onClick) { return } - + if (!props.onClick) { + return + } var { onClick } = props, emoji = _getSanitizedData(props) @@ -34,8 +35,9 @@ const _handleClick = (e, props) => { } const _handleOver = (e, props) => { - if (!props.onOver) { return } - + if (!props.onOver) { + return + } var { onOver } = props, emoji = _getSanitizedData(props) @@ -43,8 +45,9 @@ const _handleOver = (e, props) => { } const _handleLeave = (e, props) => { - if (!props.onLeave) { return } - + if (!props.onLeave) { + return + } var { onLeave } = props, emoji = _getSanitizedData(props)