edgedb-ai-booking-assistant icon indicating copy to clipboard operation
edgedb-ai-booking-assistant copied to clipboard

cannot render a component

Open MrMaina100 opened this issue 3 months ago • 0 comments

was following along the with the blog post but ran into an error and cannot seem to find a solution to it

 generate: async function* ({limit, propertiesToSelect}){
          yield (
            <Spinner/>
          )
        }

So when the user send's an input and the ai is loading the spinner shows. That is what the code means but when i write it i get this error

Parsing error: '>' expected.eslint
'Spinner' refers to a value, but is being used as a type here. Did you mean 'typeof Spinner'?ts(2749)

I am pretty sure I have the spinner imported correctly. Appreciate any help i could get.

MrMaina100 avatar May 24 '24 06:05 MrMaina100