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

convert Congrats and Certificate into functional components #44237

Merged
merged 2 commits into from
Jan 7, 2022

Conversation

davidsbailey
Copy link
Member

@davidsbailey davidsbailey commented Jan 6, 2022

this is a warm-up step for starting on PLAT-1531.

Testing story

@davidsbailey davidsbailey requested a review from a team January 7, 2022 00:10
const facebook = queryString.stringify({
u: certificateLink
});
const certificate = certificateId || 'blank';
Copy link
Contributor

Choose a reason for hiding this comment

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

style nit: Could make blank a defaultProp and avoid this, but I realize it's not what was there previously

Copy link
Contributor

Choose a reason for hiding this comment

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

(i.e. don't think it's worth a whole new build for it)

Copy link
Member Author

Choose a reason for hiding this comment

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

good call! I will include this in the next PR, where I am touching some of this code anyway.

Copy link
Contributor

@megcrenshaw megcrenshaw left a comment

Choose a reason for hiding this comment

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

Looks good! Glad the tests still work as-is

Copy link
Contributor

@tim-dot-org tim-dot-org left a comment

Choose a reason for hiding this comment

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

👍

@davidsbailey davidsbailey merged commit 1c4ba40 into staging Jan 7, 2022
@davidsbailey davidsbailey deleted the certificate-hooks branch January 7, 2022 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants