diff --git a/components/FollowButton.vue b/components/FollowButton.vue index 676aa1a83..f5c705a8d 100644 --- a/components/FollowButton.vue +++ b/components/FollowButton.vue @@ -79,8 +79,8 @@ export default { } }) .then(res => { - this.$emit('update', follow ? res.data.follow : follow) - this.$emit('optimistic', follow ? res.data.follow : follow) + // this.$emit('optimistic', follow ? res.data.follow : follow) + this.$emit('update', follow) }) .catch(() => { this.$emit('optimistic', !follow) diff --git a/pages/profile/_slug.vue b/pages/profile/_slug.vue index f83e25e1f..614187004 100644 --- a/pages/profile/_slug.vue +++ b/pages/profile/_slug.vue @@ -61,7 +61,7 @@ - + - +