Skip to content

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

@16leog

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)

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