aboutsummaryrefslogtreecommitdiff
path: root/src/components/follow_card/follow_card.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/follow_card/follow_card.js')
-rw-r--r--src/components/follow_card/follow_card.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/components/follow_card/follow_card.js b/src/components/follow_card/follow_card.js
index dc4a0d41..118d0c7c 100644
--- a/src/components/follow_card/follow_card.js
+++ b/src/components/follow_card/follow_card.js
@@ -9,8 +9,7 @@ const FollowCard = {
],
data () {
return {
- inProgress: false,
- requestSent: false
+ inProgress: false
}
},
components: {
@@ -28,9 +27,8 @@ const FollowCard = {
methods: {
followUser () {
this.inProgress = true
- requestFollow(this.user, this.$store).then(({ sent }) => {
+ requestFollow(this.user, this.$store).then(() => {
this.inProgress = false
- this.requestSent = sent
})
},
unfollowUser () {