score:9

Accepted answer

you used a string literal "{hunter.id}" which is always the same. you need to use the actual id as the key:

key={hunter.id}

if you intended to use a format string the correct syntax would be:

key={`${hunter.id}`}

but this is not required here as the key is just consisting of the id itself.


Related Query

More Query from same tag