narayan954 / dummygram

DummyGram is a social media application where we have posts, stories, chat, friends, authentication, comment, delete, share and like feature. It uses ReactJs in the frontend for the UI and Firebase for the backend storing the users, posts, stories and comments.
https://narayan954.github.io/dummygram/
MIT License
76 stars 184 forks source link

Fixed Profile Page #1306

Closed tushar-daiya closed 10 months ago

tushar-daiya commented 10 months ago

Fixes #1297 This issue was caused due to a change in character case of Friends to friends. The old accounts have an attribute Friends while the new one have friends with a small f. So when setting user data it was causing error to fetch newer accounts data.

Now the issue is fixed.

sonarcloud[bot] commented 10 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

narayan954 commented 10 months ago

Thanks for a spot on fix! Btw I just found, if we logout and login from different account, old account's data persists until we exit session or something. To confirm this, you can try to view your profile and you'd be redirected to the old login's username.

tushar-daiya commented 10 months ago

Yes I am also facing the issue. Can i try fixing that?

narayan954 commented 10 months ago

Yes I am also facing the issue. Can i try fixing that?

Sure, that'd be great! :)