WaspW
Wasp14mo ago
p4j4r5

How to use authUser conditionally in a react page?

I need to show a page, not all of it , if user is logged in, then I would need to show all of the content. Not sure how I can achieve this, because when I define a route in wasp file, I can access the user object unless I make authRequired as true.
Was this page helpful?