-
Notifications
You must be signed in to change notification settings - Fork 16
fix: convert input amount when switching between USD and RSC in bounty form #634
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
base: main
Are you sure you want to change the base?
fix: convert input amount when switching between USD and RSC in bounty form #634
Conversation
…oundation-bounty-filter
|
@PoornaChandra2005 is attempting to deploy a commit to the ResearchHub Team on Vercel. A member of the Team first needs to authorize it. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|




Fixes #541. This PR ensures that when a user toggles between USD and RSC in the bounty creation form, the input amount is automatically converted to the equivalent value in the new currency using the current exchange rate. It also ensures the RSC amount is rounded to the nearest integer before submission to avoid backend float errors.