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(upgrade to gold): cleanup and added usage of constellation #5514

Merged
merged 1 commit into from
Nov 11, 2022

Conversation

milan-bc
Copy link
Collaborator

@milan-bc milan-bc commented Nov 9, 2022

Description (optional)

This PR just cleans up our component to prevent entire props spread and use constellation

Testing Steps (optional)

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

render() {
return <Template {...this.props} />
}
const UpgradeToGold: React.FC<Props> = (props: Props) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

since you're passing the Props to the React.FC already you don't need to do : Props in the big arrow func too.

@blockdylanb blockdylanb merged commit 21e9f06 into development Nov 11, 2022
@blockdylanb blockdylanb deleted the feat/FWN-1852-cleaup-upgrade-to-gold-page branch November 11, 2022 00:17
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.

None yet

2 participants