bug: XXX cannot be used as a JSX component.
wizardAEI opened this issue · 2 comments
wizardAEI commented
What happened?
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
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.
Rexogamer commented
Revite is largely on a code freeze and further development is unlikely/will be limited - however, is this still an issue?
Rexogamer commented
Closing as this is a minor typing issue.