benawad / dogehouse

Taking voice conversations to the moon 🚀
https://dogehouse.tv/
MIT License
9.12k stars 1.48k forks source link

New Version Bug: Following count doesn't update when you follow a user #1975

Open darkarnold opened 3 years ago

darkarnold commented 3 years ago

Describe the bug When I follow a user, the following count doesn't update to reflect that I have followed or unfollowed a user

To Reproduce Steps to reproduce the behavior:

  1. Go to the homepage
  2. Click on the follow button for the user you want to follow
  3. See that the following count doesn't update

Expected behavior When a user follows someone, the following count should update

Screenshots Inkedscreencapture-next-dogehouse-tv-u-b586413e2-following-2021-04-12-

What device are you on? Chrome, Windows Additional context Add any other context about the problem here.

BronzW commented 3 years ago

This is the expected behavior as it only fetches the data once, but this could get a fix.

ShubhamPatilsd commented 3 years ago

Does the follower count update if the page is refreshed? If so, I'm thinking that we could use a state hook or something.

aaryamvn commented 3 years ago

Does the follower count update if the page is refreshed? If so, I'm thinking that we could use a state hook or something.

yes this is a possible solution