-
-
Notifications
You must be signed in to change notification settings - Fork 282
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(trading): selecting account #17546
base: develop
Are you sure you want to change the base?
Conversation
WalkthroughThe modifications update the trading form functionality across several components. In one hook, a new line is introduced to update the form state by setting the selected cryptocurrency option. Changes in the trading exchange form hook revise the reset logic to trigger only when valid exchange data is present and initial data is still loading, with the dependency array updated to reflect these conditions. Similarly, the trading sell form hook now checks for initial data loading instead of the form’s dirty status when deciding to reset default values. Additionally, in the account input component for the trading form, the direct call to the field's onChange handler is removed, with the onCryptoCurrencyChange function continuing to handle the selection. No changes have been made to any exported or publicly declared entities. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
⏰ Context from checks skipped due to timeout of 90000ms (9)
🔇 Additional comments (4)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Description
Fixing overriding selected account
Related Issue
Resolve #17452