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

feat: 5 dollars pre select added to loan card components #274

Merged
merged 2 commits into from
Jul 26, 2023

Conversation

roger-in-kiva
Copy link
Collaborator

  • 5 dollars pre-select dropdown option added to loan cards components

@@ -76,6 +77,14 @@ export function getLendCtaSelectedOption(
// Top up campaign defaults to $5
return Number(unreservedAmount > 5 ? 5 : unreservedAmount).toFixed();
}

if (fiveDollarsSelected) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This isn't needed and will be covered by the following return statement.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

That's true, thanks!

@roger-in-kiva roger-in-kiva merged commit 1f30146 into main Jul 26, 2023
2 checks passed
@roger-in-kiva roger-in-kiva deleted the CORE-1489_add_five_dollars_pre_selector_loan_card branch October 12, 2023 16:26
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