From 93eb6671c6cfa2bf107faf37d4461ede7f3524a3 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Mon, 7 Nov 2016 15:04:27 +0100 Subject: Linting fixes. --- 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 0a8843ea..4ee3890f 100644 --- a/src/components/favorite_button/favorite_button.js +++ b/src/components/favorite_button/favorite_button.js @@ -3,9 +3,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}) } } }, -- cgit v1.2.3-70-g09d2