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

chore: add onramp message and disable apple pay on desktop #1785

Merged
merged 3 commits into from
Dec 20, 2024

Conversation

abcrane123
Copy link
Contributor

What changed? Why?

  • show message when amount less than $5 (onramp has minimum)
  • hide apple pay option on non mobile device

Notes to reviewers

How has it been tested?

Copy link

vercel bot commented Dec 20, 2024

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

Name Status Preview Comments Updated (UTC)
onchainkit-coverage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 20, 2024 8:05pm
onchainkit-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 20, 2024 8:05pm
onchainkit-routes ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 20, 2024 8:05pm

@@ -74,6 +74,8 @@ export function BuyDropdown() {
};
}, [setIsDropdownOpen]);

const isApplePayEnabled = /iPhone|iPad|iPod/.test(navigator.userAgent);
Copy link
Contributor

Choose a reason for hiding this comment

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

does apple pay work on apple laptops?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updating

@abcrane123 abcrane123 merged commit bfe044d into main Dec 20, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants