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
Hi, I'm getting this build error after update react from "@types/react": "18.2.23" to "@types/react": "18.2.43":
Type error: 'MuiImage' cannot be used as a JSX component.
Its type 'FC<MuiImageProps>' is not a valid JSX element type.
Type 'FunctionComponent<MuiImageProps>' is not assignable to type '(props: any, deprecatedLegacyContext?: any) => ReactNode'.
Type 'import("/home/runner/work/shop-app/shop-app/node_modules/@types/react-dom/node_modules/@types/react/index").ReactNode' is not assignable to type 'React.ReactNode'.
Type 'ReactElement<any, string | JSXElementConstructor<any>>' is not assignable to type 'ReactNode'.
Property 'children' is missing in type 'ReactElement<any, string | JSXElementConstructor<any>>' but required in type 'ReactPortal'.
Can you have a look? Thank you.
The text was updated successfully, but these errors were encountered:
Hi, I'm getting this build error after update react from "@types/react": "18.2.23" to "@types/react": "18.2.43":
Can you have a look? Thank you.
The text was updated successfully, but these errors were encountered: