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

All the admin pages need to have a default user value #103

Open
Matthew-Burfield opened this issue Mar 9, 2020 · 0 comments
Open

All the admin pages need to have a default user value #103

Matthew-Burfield opened this issue Mar 9, 2020 · 0 comments
Assignees
Labels
bug Something isn't working frontend
Milestone

Comments

@Matthew-Burfield
Copy link
Contributor

I'm getting this warning when loading any of the admin pages. I think it's because the auth returns a null user initially until the response from auth0 comes back.

index.js:1 Warning: Failed prop type: The prop `auth.user` is marked as required in `Admin`, but its value is `null`.
    in Admin (created by withAuth(Admin))
    in withAuth(Admin) (at _app.js:21)
    in UserProvider (created by Auth0Provider)
    in Auth0Provider (at _app.js:14)
    in MyApp
    in Container (created by AppContainer)
    in AppContainer
@Matthew-Burfield Matthew-Burfield added bug Something isn't working frontend labels Mar 9, 2020
@Matthew-Burfield Matthew-Burfield added this to the Sprint 5 milestone Mar 9, 2020
@Matthew-Burfield Matthew-Burfield self-assigned this Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend
Projects
None yet
Development

No branches or pull requests

1 participant