Improve readdability

This commit is contained in:
syuilo 2018-11-05 20:49:02 +09:00
parent 71d1c641d5
commit 6da057a80d

View File

@ -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
}
})];
}