-
-
Notifications
You must be signed in to change notification settings - Fork 791
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
Remove getLayout
for reset-password.tsx
s
#4017
Conversation
The other three auth templates have the `<Layout>` right in the component. This bringt the `reset-password` file(s) in line. It also gets rid of the empty wrapper-`<div>`.
🦋 Changeset detectedLatest commit: b5afe5f The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Hey @tordans |
I don't think so. Those are my first commits to blitz so I never had a setup than worked. Did not look too much into and hoped the CI would show if there really is an error. This PR is just a cleanup to get the generated files in sync (this one is the only one using |
"toolkit-app": patch | ||
"toolkit-app-passport": patch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"toolkit-app": patch | |
"toolkit-app-passport": patch |
Hey sorry @tordans but it's better to use getLayout to prevent unmounting. It would be better to change the other uses of |
How this prevents unmounting? Could you provide more information please? I feel the docs are not enough to understand the problem. |
@vitaliemiron this explains it pretty well: https://adamwathan.me/2019/10/17/persistent-layout-patterns-in-nextjs/ |
closing in favor of #4146 |
What are the changes and their implications?
The other three auth templates have the
<Layout>
right in the component. This brings thereset-password
file(s) in line. It also gets rid of the empty wrapper-<div>
.Feature Checklist
I had trouble getting all tests running due to
ELIFECYCLE
errors. In case this is broken, feel free to just close the ticket.pnpm changeset
in the root directory)Integration test added (see test docs if needed)Documentation added/updated (submit PR to blitzjs.com repomain
branch)