Index: src/stock-on-hand-mobile/pages/stock-on-hand.jsx =================================================================== diff -u -N -r70261f5c7613f4d536564b3f96b1a73980da3ec5 -r5b2b330673183035dce0a8ac56ec45394acc8c30 --- src/stock-on-hand-mobile/pages/stock-on-hand.jsx (.../stock-on-hand.jsx) (revision 70261f5c7613f4d536564b3f96b1a73980da3ec5) +++ src/stock-on-hand-mobile/pages/stock-on-hand.jsx (.../stock-on-hand.jsx) (revision 5b2b330673183035dce0a8ac56ec45394acc8c30) @@ -29,19 +29,18 @@ const downloadFacilityData = () => { return facilityService.get(facilityId).then((facility) => { dispatch(setFacilityStockOnHand(facility)); - }) - } + }); + }; const downloadProgramData = () => { return programService.get(programId).then((program) => { dispatch(setProgramStockOnHand(program)); - }) - - } + }); + }; useEffect(() => { Promise.all([downloadFacilityData(), downloadProgramData()]); - }, [facilityId, programId]) + },[facilityId, programId]); return (