From 262760d2586cac48da27cf7eb5389116d4023dfe Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 10 Apr 2019 21:48:42 +0300 Subject: revert unnecessary changes --- src/components/favorite_button/favorite_button.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/favorite_button/favorite_button.js') diff --git a/src/components/favorite_button/favorite_button.js b/src/components/favorite_button/favorite_button.js index a24eacbf..a2b4cb65 100644 --- a/src/components/favorite_button/favorite_button.js +++ b/src/components/favorite_button/favorite_button.js @@ -11,9 +11,9 @@ const FavoriteButton = { methods: { favorite () { if (!this.status.favorited) { - this.$store.dispatch('favorite', { id: this.status.id }) + this.$store.dispatch('favorite', {id: this.status.id}) } else { - this.$store.dispatch('unfavorite', { id: this.status.id }) + this.$store.dispatch('unfavorite', {id: this.status.id}) } this.animated = true setTimeout(() => { -- cgit v1.2.3-70-g09d2