DEV Community

Henrique C. Ribeiro
Henrique C. Ribeiro

Posted on

help with react and spring boot

Hi,
I'm having trouble solving mapping issues in one of my components, the error is: TypeError: tasks.map is not a function.

9 | {tasks.map((task) => (

10 | <Task
11 | key={task.id}

12 | task={task}
13 | handleTaskClick={handleTaskClick}
14 | handleTaskDelition={handleTaskDelition}
15 |

where do I start looking for the solution?

Discussion (0)