Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Why does this code not throw an error?  #367

Closed as not planned
Closed as not planned
@nwaokoron

Description

@nwaokoron

import { SignOut } from '@/utils/auth-helpers/server';

Pretty new to Next.js. I thought importing a server component in a client component
would cause an error but this code seems to allow it. How so?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions