Auth0 React LoginButton error

I’m working through the first steps on implementing Auth0 react auth using this guide: Auth0 React SDK for Single Page Apps
When I put the login button into my app.tsx, I get this:

'LoginButton' cannot be used as a JSX component. Its return type 'false | Element' is not a valid JSX element.

Hi @alexbuy,

Welcome to the Auth0 Community!

Can you post your code?