Inside this map no rendering happens but console.log prints the array elements.
{(repos.length > 0) ? repos.flatMap((v, i) => {