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(recurring buy): fixes several small design issues related to recurring buy #3467

Merged
merged 3 commits into from
Aug 13, 2021

Conversation

blockdylanb
Copy link
Contributor

Description (optional)

Add a concise explanation of the changes.

Testing Steps (optional)

Detail the steps required for the reviewer(s) to verify and test these changes.

@@ -182,7 +194,7 @@ const getActionText = (action: ActionEnum, date: string | number) => {
id='scenes.coin.recurringbuy.next_swap_on_date'
defaultMessage='Next Swap on {date}'
values={{
date: moment(date).format('ddd, MMMM Do')
date: date.format('ddd, MMMM Do')
Copy link
Contributor

Choose a reason for hiding this comment

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

to avoid duplication of formatting strings, do the formatting once at the top of the component after line 139. then just pass as values={{ date }}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yup makes sense. new commit incoming.

@schnogz schnogz merged commit b3a5fb1 into development Aug 13, 2021
@schnogz schnogz deleted the fix/recurring-buy-feedback branch August 13, 2021 17:38
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