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

Use named functions in layouts docs #27297

Merged
merged 2 commits into from
Jul 19, 2021
Merged

Use named functions in layouts docs #27297

merged 2 commits into from
Jul 19, 2021

Conversation

samrobbins85
Copy link
Contributor

Documentation / Examples

  • Make sure the linting passes

Fixes #27252 by using a named function rather than an arrow function. If this is the correct fix, then modifications are also needed for the layout-component example, but I'm just providing this one modification right now in case this fix is incorrect.

Copy link
Member

@ijjk ijjk left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

@kodiakhq kodiakhq bot merged commit 187f431 into vercel:canary Jul 19, 2021
kodiakhq bot pushed a commit that referenced this pull request Jul 20, 2021
## Documentation / Examples

- [x] Make sure the linting passes

In line with the PR #27297 which solved issue #27252, this updates the example to also use named functions in order to pass ESLint
flybayer pushed a commit to blitz-js/next.js that referenced this pull request Aug 19, 2021
## Documentation / Examples
- [x] Make sure the linting passes

Fixes vercel#27252 by using a named function rather than an arrow function. If this is the correct fix, then modifications are also needed for the `layout-component` example, but I'm just providing this one modification right now in case this fix is incorrect.
flybayer pushed a commit to blitz-js/next.js that referenced this pull request Aug 19, 2021
## Documentation / Examples

- [x] Make sure the linting passes

In line with the PR vercel#27297 which solved issue vercel#27252, this updates the example to also use named functions in order to pass ESLint
@vercel vercel locked as resolved and limited conversation to collaborators Jan 28, 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.

Per-page layouts example fails ESLint
2 participants