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

Fix loader bug of profile page #937

Merged
merged 2 commits into from
Jul 24, 2023

Conversation

Palakkgoyal
Copy link
Contributor

This PR fixes issue no. #883
I have added the condition for finding user and if not found then show 404

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you Palakkgoyal! for creating this pull request and contributing to Dummygram! 💗

The maintainers will review this Pull Request and provide feedback as soon as possible! 😇
We appreciate your patience and contribution, Keep up the great work! 😀

Copy link
Owner

@narayan954 narayan954 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me!

@narayan954 narayan954 linked an issue Jul 24, 2023 that may be closed by this pull request
4 tasks
@narayan954 narayan954 merged commit e323281 into narayan954:master Jul 24, 2023
4 of 5 checks passed
@Palakkgoyal Palakkgoyal deleted the profileLoaderBug branch July 25, 2023 06:03
avatar: doc.data().photoURL,
uid: doc.data().uid,
});
if(snapshot.exists){
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is perhaps not a valid condition and hence profile was being forwarded to 404 page everytime instead.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to revert this, sort of, to fix this

@Palakkgoyal
Copy link
Contributor Author

Is it? let me check.

@narayan954
Copy link
Owner

Is it? let me check.

yes, you may re add this on your localhost and it shouldn't work! ;-;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Loader did not stop on profile
2 participants