-
Notifications
You must be signed in to change notification settings - Fork 2k
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
user is undefined in BeforeDashboard component after login #8134
Comments
r1tsuu
added
status: needs-triage
Possible bug which hasn't been reproduced yet
v3
labels
Sep 9, 2024
github-actions
bot
removed
the
status: needs-triage
Possible bug which hasn't been reproduced yet
label
Sep 9, 2024
3 tasks
Fixed in #8135 |
r1tsuu
added a commit
that referenced
this issue
Sep 10, 2024
## Description Fixes #8134 - [x] I have read and understand the [CONTRIBUTING.md](https://github.com/payloadcms/payload/blob/main/CONTRIBUTING.md) document in this repository. ## Type of change <!-- Please delete options that are not relevant. --> - [x] Bug fix (non-breaking change which fixes an issue) ## Checklist: - [x] Existing test suite passes locally with my changes
🚀 This is included in version v3.0.0-beta.103 |
This issue has been automatically locked. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Link to reproduction
No response
Environment Info
Describe the Bug
useAuth().user
is undefined in a BeforeDashboard component after login.record-2024-09-09_18.49.55.mp4
Reproduction Steps
Create
BeforeDashboard.tsx
:Add to the root config:
Login into the admin panel - you should receive an error about
user is undefined
.Adapters and Plugins
No response
The text was updated successfully, but these errors were encountered: