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: Enforce preview validation on edit position modal #2549

Merged
merged 1 commit into from
Jun 30, 2023

Conversation

avclarke
Copy link
Contributor

Description

Preview errors were not being enforced correctly on edit size modal.

How Has This Been Tested?

Open a large order on small cap market and then try to increase the position size beyond max leverage, the submit button should be blocked and a message displayed.

Screenshots (if appropriate):

Screenshot 2023-06-30 at 19 21 43

@vercel
Copy link

vercel bot commented Jun 30, 2023

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

Name Status Preview Updated (UTC)
kwenta ✅ Ready (Inspect) Visit Preview Jun 30, 2023 6:22pm
kwenta-storybook ✅ Ready (Inspect) Visit Preview Jun 30, 2023 6:22pm

@avclarke avclarke requested a review from platschi June 30, 2023 18:22
@platschi platschi merged commit 99654ef into dev Jun 30, 2023
2 checks passed
@platschi platschi deleted the fix/edit-pos-errors branch June 30, 2023 18:30
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