diff --git a/src/client/app/common/views/components/misskey-flavored-markdown.ts b/src/client/app/common/views/components/misskey-flavored-markdown.ts index dd111aba05..2a0a2b6f67 100644 --- a/src/client/app/common/views/components/misskey-flavored-markdown.ts +++ b/src/client/app/common/views/components/misskey-flavored-markdown.ts @@ -187,11 +187,14 @@ export default Vue.component('misskey-flavored-markdown', { } case 'emoji': { - const { emoji, name } = token; - const { customEmojis } = this; return [createElement('mk-emoji', { - attrs: { emoji, name }, - props: { customEmojis } + attrs: { + emoji: token.emoji, + name: token.name + }, + props: { + customEmojis: this.customEmojis + } })]; }