Skip to content

Serialized user is only provided to the page component #449

Answered by kmjennison
pvorona asked this question in Q&A
Discussion options

You must be logged in to vote

You should only wrap the page in withAuthUser, not any child components. That'll set context that can be used anywhere in the React tree. Does it work if you remove the child's withAuthUser wrapper?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pvorona
Comment options

Answer selected by pvorona
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants