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 mint button show up when wallet is not connected #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rookmate
Copy link
Contributor

Currently, if you have a session key but the wallet is not connected, you can still mint NFTs
Screenshot 2025-01-16 at 11 20 58

To fix it, just need to ensure the wallet is connected and there is a session active to allow the button to be displayed

Steps to reproduce:

  1. Connect wallet
  2. Create session keys
  3. Mint NFT
  4. Disconnect wallet
  5. Mint NFT button still there
  6. Click on it
  7. Mints second NFT

Copy link

vercel bot commented Jan 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
agw-connectkit-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 16, 2025 11:27am
agw-rainbowkit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 16, 2025 11:27am
session-keys ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 16, 2025 11:27am

Copy link

vercel bot commented Jan 16, 2025

@rookmate is attempting to deploy a commit to the Abstract Foundation Team on Vercel.

A member of the Team first needs to authorize it.

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

Successfully merging this pull request may close these issues.

1 participant