TypeError: undefined is not an object (evaluating 'getImages.data[0].s_path')
const getImages = responseApi(imgApi.getItemImg); API DATA getImages data đ Array [ Object { "dt_pub_date": "2019-07-30 09:41:58", "fk_i_item_id": "1090", "pk_i_id": "1092", "s_content_type": "image/jpeg", "s_extension": "jpg", "s_name": "inbLX2Cd", "s_path": "oc-content/uploads/10/", }, Object { "dt_pub_date": "2019-07-30 09:41:58", "fk_i_item_id": "1086", "pk_i_id": "1088", "s_content_type": "image/jpeg", "s_extension": "jpg", "s_name": "nlJf1TUl", "s_path": "oc-content/uploads/10/", }, ] â{getImages.data[0].s_path}${getImages.data[0].pk_i_id}.${getImages.data[0].s_extension}â How to solve? TypeError: undefined is not an object (evaluating 'getImages.data[0].s_path')