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

'Auth' cannot be used as a JSX component when using React(NextJs) with typescript #236

@manyeya

Description

@manyeya

Bug report

Screenshot 2021-07-02 at 16 51 58

Describe the bug

Auth component returns type 'Element | undefined' which is not a valid JSX element

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. setup React(NextJs) with Typescript
  2. setup superbase and try out default example
  3. See error

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions