Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shows wrong friend list on profile page when adding/removing friend, this corrects only after reloading #34

Open
MitraPandit opened this issue Feb 17, 2023 · 4 comments

Comments

@MitraPandit
Copy link

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.


Screenshot (235)


After I click on add friend. I get the following friend list.


Screenshot (236)


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.

Screenshot (237)


Can anyone help me with this problem. Is this the only solution or is there any other way around???
@MitraPandit 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
@Jawad-Ali2
Copy link

Did you fix it yet? I am facing the same error.

@newcodecareer
Copy link

got some issues here

@Jawad-Ali2
Copy link

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:
image

@killerTiger10
Copy link

is this problem occuring when you try to go the profile page of the user? If yes, then share your code for profilePage/index.jsx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants