Skip to content

next04/app/users/[userId]/page.tsx #5

Description

@16leog

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions