1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-27 22:38:30 +09:00

Improve readdability

This commit is contained in:
syuilo 2018-11-05 20:49:02 +09:00
parent e542dcac30
commit 3fc04fcdc5
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

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