What happens here if the API returns an empty array of data?