fullstack-graphql-airbnb-clone
fullstack-graphql-airbnb-clone copied to clipboard
Website cannot run
Hello,
i just did what it is written in the page but cannot run the website due to an error ailed to compile.
/home/ian/super_app/fullstack-graphql-airbnb-clone/packages/web/src/modules/listing/shared/ListingForm.tsx (71,11): An expression of type 'void' cannot be tested for truthiness
any suggestion?
Best regards,
Ian
I think the console.log on this line is causing the problem: https://github.com/benawad/fullstack-graphql-airbnb-clone/blob/1c9d8fdc961831ab0aa66622ea6bb9bb9b24fff0/packages/web/src/modules/listing/shared/ListingForm.tsx#L72
try removing it