From 29dac5c5a359c58ee5bffb37e48cc15225bf26fb Mon Sep 17 00:00:00 2001 From: Grzegorz Leoniec Date: Tue, 5 Mar 2019 17:37:48 +0100 Subject: [PATCH] Removed unused voted var from author component --- components/Author.vue | 9 --------- 1 file changed, 9 deletions(-) diff --git a/components/Author.vue b/components/Author.vue index 773037fac..54770d33d 100644 --- a/components/Author.vue +++ b/components/Author.vue @@ -141,21 +141,12 @@ export default { trunc: { type: Number, default: null }, showAuthorPopover: { type: Boolean, default: true } }, - data() { - return { - voted: false - } - }, computed: { itsMe() { return this.author.slug === this.$store.getters['auth/user'].slug }, fanCount() { let count = Number(this.author.followedByCount) || 0 - if (this.voted) { - // NOTE: this is used for presentation - count += 1 - } return count }, author() {