Don't render fallback inside an emoji `<span>`
parent
818b4a1600
commit
4008363e73
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue