Skip to content

Add component wrapper in sizes documentation code snippet#39437

Merged
ijjk merged 2 commits intovercel:canaryfrom
atcastle:fix-sizes-semicolon
Aug 9, 2022
Merged

Add component wrapper in sizes documentation code snippet#39437
ijjk merged 2 commits intovercel:canaryfrom
atcastle:fix-sizes-semicolon

Conversation

@atcastle
Copy link
Copy Markdown
Contributor

@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.

@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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants