#what is the error with this code

22 messages · Page 1 of 1 (latest)

opal pine
#

!screenshot

candid graniteBOT
#
`!screenshot`:

Rather than screenshots, please provide either code formatted as:

```ts
// code here
```
Or even better, as an example on the TypeScript playground that is as simple as possible and reproduces the issue. This makes it easier to help you and increases the chances of getting an answer.

opal pine
#

well, are you using that component somehwere?

#

somwhere you call render with your main component

prime nebula
#

yes I render this component in the app.tsx

#

but when I do that nothing displaying in browser

opal pine
#

but do you render your app.tsx?

prime nebula
#

the browser is empty

#

yes

opal pine
#

🤔

prime nebula
#

when i remove this componet every is ok

opal pine
#

are you sure there is no error in the console?

#

your api requires ?format=json

#

for the result to be JSON

#

otherwise it returns html and can't be parsed

#

@prime nebula

prime nebula
#

sry, I found the error

#

i was an stupid mistake

#

pls delete this question, if you able to do that

#

thank you for your time

opal pine
#

np ok

#

!close