diff options
| author | Henry Jameson <me@hjkos.com> | 2019-04-10 21:48:42 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2019-04-10 21:48:42 +0300 |
| commit | 262760d2586cac48da27cf7eb5389116d4023dfe (patch) | |
| tree | a4c9393df0da43409fcce9b1b41b4611f33cccb6 /src/components/favorite_button/favorite_button.js | |
| parent | 6471bec0d962a13b272c2c55807492c86b859256 (diff) | |
revert unnecessary changes
Diffstat (limited to 'src/components/favorite_button/favorite_button.js')
| -rw-r--r-- | src/components/favorite_button/favorite_button.js | 4 |
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 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(() => { |
