fix: convert input amount when switching between USD and RSC in bounty form#626
fix: convert input amount when switching between USD and RSC in bounty form#626PoornaChandra2005 wants to merge 2 commits intoResearchHub:mainfrom
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
|
@PoornaChandra2005 is attempting to deploy a commit to the ResearchHub Team on Vercel. A member of the Team first needs to authorize it. |
5 similar comments
|
@PoornaChandra2005 is attempting to deploy a commit to the ResearchHub Team on Vercel. A member of the Team first needs to authorize it. |
|
@PoornaChandra2005 is attempting to deploy a commit to the ResearchHub Team on Vercel. A member of the Team first needs to authorize it. |
|
@PoornaChandra2005 is attempting to deploy a commit to the ResearchHub Team on Vercel. A member of the Team first needs to authorize it. |
|
@PoornaChandra2005 is attempting to deploy a commit to the ResearchHub Team on Vercel. A member of the Team first needs to authorize it. |
|
@PoornaChandra2005 is attempting to deploy a commit to the ResearchHub Team on Vercel. A member of the Team first needs to authorize it. |



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.