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: validate inputs after userAddress changes #460

Merged
merged 3 commits into from
Jan 17, 2025

Conversation

agualis
Copy link
Collaborator

@agualis agualis commented Jan 17, 2025

Fixes 2 swap issues:

  1. validate inputs after userAddress changes
  2. avoid app crashing when a url with tokenAmountIn is copy-pasted

Example loading this URL: swap/zkevm/rETH/wstETH/0.0136547066055

Before:
before

After:
after

Copy link

vercel bot commented Jan 17, 2025

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

Name Status Preview Comments Updated (UTC)
mono-beets-test-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 17, 2025 1:01pm
mono-beets-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 17, 2025 1:01pm
mono-frontend-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 17, 2025 1:01pm
mono-test-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 17, 2025 1:01pm

@agualis agualis merged commit 569ebf2 into main Jan 17, 2025
13 checks passed
@agualis agualis deleted the fix/validateInputAfterUserChange branch January 17, 2025 15:05
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.

2 participants