TS2786: 'Button' cannot be used as a JSX component
When upgrading from react-scripts 4.X to 5.X Compiled with problems: × ERROR in src/App.tsx:51:10 TS2786: 'Button' cannot be used as a JSX component. Its return type 'ReactElement<any, string | JSXElementConstructor<any>> | null' is not...
Recent Comments