Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

Array.prototype.map() expects a return value from arrow function array-callback-return react

Changing {} to () worked for me

from map(() => {}) to map(() => ())
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #expects #return #arrow #function #react
ADD COMMENT
Topic
Name
4+8 =