O mapa de dados nativo reacto não é uma função

The .map function is only available on array.
It looks like data isn't in the format you are expecting it to be
(it is {} but you are expecting []).

Singh99