-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
bug fix for the profile page view Profile bug fix for issue #912 #928
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you biplavmz! 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! 😀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check comment
@@ -189,6 +189,8 @@ function Post(prop) { | |||
}} | |||
> | |||
<ErrorBoundary> | |||
{ | |||
!profile && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't need to hide the header completely, we just had to hide the visit profile option, as you had mentioned there as well. Also, instead of prop drilling, you can instead check the current route as well, uselocation... or there might be other better ways as well
why duplicate pr? closing |
on profile page we need to hide the three dot bug fix for #912
Before :-
![image](https://private-user-images.githubusercontent.com/68702055/255397166-afeea478-491d-413a-8501-3cf9d92758b1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3NDk0MjIsIm5iZiI6MTcxOTc0OTEyMiwicGF0aCI6Ii82ODcwMjA1NS8yNTUzOTcxNjYtYWZlZWE0NzgtNDkxZC00MTNhLTg1MDEtM2NmOWQ5Mjc1OGIxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MzAlMkZ1cy1lYXN0LTElMkZzMyUy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