fullstack-graphql-airbnb-clone icon indicating copy to clipboard operation
fullstack-graphql-airbnb-clone copied to clipboard

Website cannot run

Open ianeinser opened this issue 5 years ago • 1 comments

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

ianeinser avatar Feb 12 '19 07:02 ianeinser

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

benawad avatar Feb 12 '19 13:02 benawad