Don't render fallback inside an emoji `<span>`
parent
818b4a1600
commit
4008363e73
|
@ -123,7 +123,7 @@ const Emoji = props => {
|
|||
|
||||
if (!setHasEmoji) {
|
||||
if (props.fallback) {
|
||||
children = props.fallback(data)
|
||||
return props.fallback(data)
|
||||
} else {
|
||||
return null
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue