Don't render fallback inside an emoji `<span>`

release
Andrew Beaven 2018-01-10 11:38:30 +13:00
parent 818b4a1600
commit 4008363e73
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ const Emoji = props => {
if (!setHasEmoji) { if (!setHasEmoji) {
if (props.fallback) { if (props.fallback) {
children = props.fallback(data) return props.fallback(data)
} else { } else {
return null return null
} }