From bc106a67ef0c3882c6f34ec5fbfc82be010f586e Mon Sep 17 00:00:00 2001 From: Sebastian-Webster <84299475+Sebastian-Webster@users.noreply.github.com> Date: Sat, 13 Jan 2024 19:24:19 +0100 Subject: [PATCH] Vote buttons now disappear when changing vote for image posts --- components/Posts/ImagePost.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Posts/ImagePost.js b/components/Posts/ImagePost.js index 457bc91..0542d48 100644 --- a/components/Posts/ImagePost.js +++ b/components/Posts/ImagePost.js @@ -190,7 +190,7 @@ class ImagePost extends Component { this.props.post.upvoted ? this.removeVote("Up") : this.upvote()}> - + {!this.props.post.changingVote && } @@ -204,7 +204,7 @@ class ImagePost extends Component { this.props.post.downvoted ? this.removeVote("Down") : this.downvote()}> - + {!this.props.post.changingVote && }