Next 15.0.3 issue AppConfig' cannot be used as a JSX component #3102
Unanswered
chrishj59
asked this question in
PrimeReact Templates
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When upgrading to Nextjs 15.0.3 I get the following error using PNPM run build.
'AppConfig' cannot be used as a JSX component.
Its type '(props: AppConfigProps) => JSX.Element' is not a valid JSX element type.
Type '(props: AppConfigProps) => JSX.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'.
49 | <>
50 | {children}
Beta Was this translation helpful? Give feedback.
All reactions