mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-22 01:15:25 +03:00
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