I\'m having some issues understanding why I\'m getting a compile warning on this piece of my react code
fetch(\'/users\') .then(res => res.json())
Try Changing map(() => {}) to map(() => ())
map(() => {}) to map(() => ())
{} - Creates a code block that expects an explicit return statement. With () - implicit return takes place.
return