feat: updated useEffect dependency and implemented map
feat: updated useEffect dependency and implemented map

state of monthlyIncidents is accurately reflecting incident per month

HospitalRun/hospitalrun-frontend,HospitalRun/hospitalrun-frontend,HospitalRun/hospitalrun-frontend,HospitalRun/hospitalrun-frontend