I am trying to implement Strapi on my react website. So i did some code and i didn't get an error but my screen is still white.
Index.js:image.js screenshot
Portfolio.jsx Proftolio.jsx file screenshot
The only thing what i can found is in elemenemt inspect:element inspect screenshot
Does anyone know what is wrong in my code? I've got the content out of the playground.
CodePudding user response:
Remove the "attributes" in your "map" and where you are using: {portfolio.title}
should be {portfolio.attributes.title}
thats what fixed mine untill I just broke it again trying for images...