Skip to content

Commit

Permalink
Don't render fallback inside an emoji <span>
Browse files Browse the repository at this point in the history
  • Loading branch information
ajbeaven committed Jan 9, 2018
1 parent 818b4a1 commit 4008363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/emoji.js
Expand Up @@ -123,7 +123,7 @@ const Emoji = props => {

if (!setHasEmoji) {
if (props.fallback) {
children = props.fallback(data)
return props.fallback(data)
} else {
return null
}
Expand Down

0 comments on commit 4008363

Please sign in to comment.