forked from Mirrors/elk
parent
7182d69a61
commit
9687330dd4
1 changed files with 1 additions and 3 deletions
|
@ -10,10 +10,8 @@ const props = defineProps<{
|
|||
emojis?: Emoji[]
|
||||
}>()
|
||||
|
||||
const emojiObject = emojisArrayToObject(props.emojis || [])
|
||||
|
||||
export default () => h(
|
||||
'span',
|
||||
{ class: 'content-rich' },
|
||||
contentToVNode(props.content, emojiObject),
|
||||
contentToVNode(props.content, emojisArrayToObject(props.emojis || [])),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue