next-js-course
next-js-course copied to clipboard
next04/app/users/[userId]/page.tsx
if you're doing this on the latest nextjs version, you'll probably run into a problem when using user to flag a notFound, in this case instead of if(!user.name) do if(!user?.name)
Thank you, kind gentleman
Did you manage to have "User Not Found" tab title? Mine always shows "Create Next App" @16leog
if(!user?.name)
thank you