Users/frederickdineen/Downloads/progamer2013-umrahfrontend-0908e3e047a0/packages/b2b/src/App.tsxTypeScript error in /Users/frederickdineen/Downloads/progamer2013-umrahfrontend-0908e3e047a0/packages/b2b/src/App.tsx(79,11):'StylesProvider' cannot be used as a JSX component. Its element type 'ReactElement<any, any> | Component<StylesProviderProps, any, any>' is not a valid JSX element. Type 'Component<StylesProviderProps, any, any>' is not assignable to type 'Element | ElementClass'. Type 'Component<StylesProviderProps, any, any>' is not assignable to type 'ElementClass'. The types returned by 'render()' are incompatible between these types. Type 'React.ReactNode' is not assignable to type 'import("/Users/frederickdineen/node_modules/@types/react/index").ReactNode'. Type '{}' is not assignable to type 'ReactNode'. Type '{}' is not assignable to type 'ReactPortal'. TS2786 77 | 78 | const RTL = (props: RTLProps) => {> 79 | return <StylesProvider jss={jss}>{props.children}</StylesProvider>; | ^ 80 | }; 81 | 82 | const App = (props: Props) => {
↧
Failed to compile JSX Element
↧