aboutsummaryrefslogtreecommitdiff
path: root/src/components/favorite_button
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/favorite_button')
-rw-r--r--src/components/favorite_button/favorite_button.js4
1 files changed, 2 insertions, 2 deletions
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})
}
}
},