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

Add component wrapper in sizes documentation code snippet #39437

Merged
merged 2 commits into from Aug 9, 2022

Conversation

atcastle
Copy link
Collaborator

@atcastle atcastle commented Aug 9, 2022

This PR adds a function component wrapper to the example snippets in the new sizes docs section. This makes it consistent with the other snippets and should prevent a problem where an errant semicolon was getting inserted during commit.

@ijjk ijjk added area: documentation created-by: Chrome Aurora PRs by the Google Chrome team: https://web.dev/aurora labels Aug 9, 2022
@atcastle atcastle changed the title Fix sizes semicolon Add component wrapper in sizes documentation code snippet Aug 9, 2022
@ijjk ijjk merged commit e2119c0 into vercel:canary Aug 9, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
created-by: Chrome Aurora PRs by the Google Chrome team: https://web.dev/aurora
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants