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

feat: disable btn and show not enough balance #52

Merged
merged 3 commits into from
Jan 20, 2024

Conversation

aeither
Copy link
Collaborator

@aeither aeither commented Jan 18, 2024

When USDC not enough to buy a batch, make button red with text "not enough balance"

closes #53

Copy link

vercel bot commented Jan 18, 2024

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

Name Status Preview Comments Updated (UTC)
asta-verde ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 18, 2024 3:23am
astaverde-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 18, 2024 3:23am

Copy link
Owner

@orpheuslummis orpheuslummis left a comment

Choose a reason for hiding this comment

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

LGTM

Although I'm creating an issue to discuss the UX of the 'USDC approval'
UPDATE: no new issue, i was just confused.

@aeither aeither merged commit dfb752a into orpheuslummis:main Jan 20, 2024
4 checks passed
aeither added a commit that referenced this pull request Jan 24, 2024
* add instruction, requires wallet

* Component should be returned after all the functions

* check and show not enough balance USDC
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.

disable and show red button when balance higher than price
2 participants