I am trying to access all 22 of the timestamp values within the createdIssuesLength state variable...I am not to sure how to access these correctly as these have numbers before the object.
const [createdIssueslength, setCreatedIssueslength] = useState(null)
useEffect(() => {
async function onLoadDefectLoggingData() {
loading.setLoading(true)
const results = await get(`get_defect_logging_report_data`, user.user)
if (results.status === 0) {
setCreatedIssueslength(results.data.created_resolved_chart)
} else if (results.status >=20 && results.status <=30){
snackbar.statusCheck(results)
user.setSessionTokenMatches(false)
} else snackbar.statusCheck(results)
loading.setLoading(false)
}
onLoadDefectLoggingData()
}, [])