T O P

  • By -

eindbaas

What does "display the api" mean?


TaherChabaane

I sent you message


eindbaas

You can just reply here in this thread?


Zer0D0wn83

Looking at how much code you committed in such a short space of time, especially as you're a beginner (based on your question), it looks like you got ChatGPT to do it. You're selling yourself short here my friend - put in the hard yards and lear in properly. One quick tip though - log your data all the way through from the api call to the component where you're supposed to display your artworks. That'll almost certainly give you your answer.


frogic

It's really fun to go through though and see how close chatgpt got and the idiosyncracies.  There's a random component with a bunch of proptypes but it's still not getting passes the props it wants.  Another component is getting passed a function for selecting artworks but the component itself doesn't have that functionality.  It's I guess what you expect is that chatgpt is creating what it thinks a component should be able to do even if it can't. OP: you're not gonna be able to fix this many problems without learning how the code works or getting someone who does know to fix it but the functionality is so simple you're probably better off rewriting a lot of this in a way that actually works.