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: form validation #194

Merged
merged 1 commit into from
Feb 18, 2025
Merged

fix: form validation #194

merged 1 commit into from
Feb 18, 2025

Conversation

philbow61
Copy link
Contributor

Description

The form validation was broken because we called the async function isSwappable in the filter function without waiting for the promises to be resolved.
This fix ensure only valid token combinations can be selected

Other changes

Tested

Ensured both multihop and direct broker swaps work, verified only valid pairs can be selected.

Related issues

Checklist before requesting a review

Copy link

vercel bot commented Feb 18, 2025

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

Name Status Preview Comments Updated (UTC)
mento-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 18, 2025 9:49am

Copy link
Contributor

@chapati23 chapati23 left a comment

Choose a reason for hiding this comment

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

lgtm, i'll push some further updates / refactorings in another PR but let's get this live first

@chapati23 chapati23 merged commit fdc248d into main Feb 18, 2025
9 checks passed
@chapati23 chapati23 deleted the hotfix/fix-form-validation branch February 18, 2025 13:31
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.

3 participants