Hi I’ve been doing your nextjs ecommerce tutorial, and ran into a problem after creating the login API.
The conditional rendering only shows the Login component when a user isn’t logged in, and not their username.
Do you think you know what it could be?
Thanks for an amazing course
Dan Asked question October 28, 2022