You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type error: 'AuthProvider' cannot be used as a JSX component.
Its type '(props: PropsWithChildren<{ sdk: Auth; }>) => Element' is not a valid JSX element type.
Type '(props: PropsWithChildren<{ sdk: Auth; }>) => Element' is not assignable to type '(props: any) => ReactNode | Promise<ReactNode>'.
Type 'Element' is not assignable to type 'ReactNode | Promise<ReactNode>'.
Expected behavior
It type checks against react 19.
Reacted by CJ Angrist, Erfa, Ivan Stasiuk, Indrajit Chakrabarty, Houssam Elbadissi, Michael Koval and Webber Takken
Activity
fix: replace JSX.Element with React.ReactElement for React 19 compat
fix: replace JSX.Element with React types for React 19 compatibility (F…
fix: replace JSX.Element with React types for React 19 compatibility (F…