React Native Axios get filtered by key of array
I have an array of objects like this: "data": [ { "id": 14, "banner_type_id": 1, "name": "banner2022", }, { "id": 12, "banner_type_id": 1, "name": "banner845", }, { "id": 8, "banner_type_id": 4, "name": "banner_powertools" }, ] And these the code: useEffect(()…