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

Create and Profile should be visible only after the wallet is connected #83

Open
asmit27rai opened this issue Jan 6, 2025 · 5 comments

Comments

@asmit27rai
Copy link

Bug: "Create" and "Profile" should be visible only after the wallet is connected

📝 Description

Currently, the "Create" and "Profile" options are always visible in the navbar, even before the user connects their wallet. These features should only be accessible after a successful wallet connection.

🎯 Expected Behavior

  • Initially, only the "Connect Wallet" button should be visible.
  • After the user connects their wallet, the "Create" and "Profile" options should appear in the navbar.

Screenshot

Screenshot 2025-01-06 211705

@asmit27rai
Copy link
Author

@Ronnieraj37 Pls assign this to me..

@myselfsatyam
Copy link

@Ronnieraj37 I have made a pr for this issue for fixing this bug by using conditional rendering and defining a chekwalletstatus function.

@Ronnieraj37
Copy link
Contributor

Hey @myselfsatyam its good that you've created a PR but include some sort of demo as well, @asmit27rai you can look at the PR and give your reviews as well. Does #84 PR solve this issue completely or there can be some changes.

@asmit27rai
Copy link
Author

Yes, I think it is.

@myselfsatyam
Copy link

@Ronnieraj37 please review it sir, actually I am having mine endsem going on

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

3 participants