revoltchat/revite

bug: XXX cannot be used as a JSX component.

wizardAEI opened this issue · 2 comments

What happened?

Screenshot 2023-07-19 at 22 40 09
App' cannot be used as a JSX component.
  Its type '() => Element' is not a valid JSX element type.
    Type '() => Element' is not assignable to type '(props: any, deprecatedLegacyContext?: any) => ReactNode'.
      Type 'Element' is not assignable to type 'ReactNode'.
        Property 'children' is missing in type 'Element' but required in type 'ReactPortal'.ts(2786)

Branch

Production (app.revolt.chat)

Commit hash

e8de3bc

What browsers are you seeing the problem on?

No response

Relevant log output

No response

Desktop

  • Yes, this bug is specific to Revolt Desktop and is not an issue with Revolt Desktop itself.

PWA

  • Yes, this bug is specific to the PWA.

Revite is largely on a code freeze and further development is unlikely/will be limited - however, is this still an issue?

Closing as this is a minor typing issue.