remove logs/commented code

This commit is contained in:
Shpuld Shpuldson 2020-01-27 15:49:05 +02:00
parent 0de627baae
commit e4e3a28838

View file

@ -4,16 +4,13 @@ const EmojiReactions = {
props: ['status'],
computed: {
emojiReactions () {
console.log(this.status.emoji_reactions)
return this.status.emoji_reactions
}
},
methods: {
reactedWith (emoji) {
// return []
const user = this.$store.state.users.currentUser
const reaction = this.status.emoji_reactions.find(r => r.emoji === emoji)
console.log(reaction)
return reaction.accounts && reaction.accounts.find(u => u.id === user.id)
},
reactWith (emoji) {