79503146

Date: 2025-03-12 09:37:50
Score: 2.5
Natty:
Report link

The issue is that you aren't updating the state with the fetched data, so nothing is displayed on the screen. You need to store the fetched data in a state variable and render it in the UI. Also, you're not handling errors properly, so if the fetch fails, you won't see any feedback.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: haakonsollund