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

ref(js): Convert CreateTeamModal to a FC #29796

Merged

Conversation

evanpurkhiser
Copy link
Member

No description provided.

Comment on lines +17 to +16
function CreateTeamModal({Body, Header, ...props}: Props) {
const {onClose, closeModal, organization} = props;
Copy link
Member

Choose a reason for hiding this comment

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

Should these be destructured in one place?

Copy link
Member Author

Choose a reason for hiding this comment

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

We pass down the props, which is why I did this.

@evanpurkhiser evanpurkhiser force-pushed the evanpurkhiser/ref-js-convert-createteammodal-to-a-fc branch from 2e83934 to 49411f8 Compare November 5, 2021 20:45
@evanpurkhiser evanpurkhiser enabled auto-merge (squash) November 5, 2021 20:45
@evanpurkhiser evanpurkhiser merged commit 2513c94 into master Nov 5, 2021
@evanpurkhiser evanpurkhiser deleted the evanpurkhiser/ref-js-convert-createteammodal-to-a-fc branch November 5, 2021 21:05
@github-actions github-actions bot locked and limited conversation to collaborators Nov 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants