You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the initial state of profile page. The person logged in here is not a friend of the user who's profile is shown. Hence the friend list is empty.
After I click on add friend. I get the following friend list.
This is the friend list of the logged in user, which is obviously wrong.
Now when I refresh the page, I get the correct friend list.
Can anyone help me with this problem. Is this the only solution or is there any other way around???
The text was updated successfully, but these errors were encountered:
MitraPandit
changed the title
Shows wrong friend list on profile page when adding/removing friend
Shows wrong friend list on profile page when adding/removing friend, this corrects only after reloading
Feb 17, 2023
I actually fixed the issue that same day. But now I have already forgotten how I fixed or what I did. So just kindly show me your code or I'll share my FriendListWidget.jsx with you:
This is the initial state of profile page. The person logged in here is not a friend of the user who's profile is shown. Hence the friend list is empty.
After I click on add friend. I get the following friend list.
This is the friend list of the logged in user, which is obviously wrong.
Now when I refresh the page, I get the correct friend list.
Can anyone help me with this problem. Is this the only solution or is there any other way around???
The text was updated successfully, but these errors were encountered: