Index: src/stock-on-hand-mobile/pages/program-select.jsx =================================================================== diff -u -N -r70261f5c7613f4d536564b3f96b1a73980da3ec5 -r5b2b330673183035dce0a8ac56ec45394acc8c30 --- src/stock-on-hand-mobile/pages/program-select.jsx (.../program-select.jsx) (revision 70261f5c7613f4d536564b3f96b1a73980da3ec5) +++ src/stock-on-hand-mobile/pages/program-select.jsx (.../program-select.jsx) (revision 5b2b330673183035dce0a8ac56ec45394acc8c30) @@ -51,7 +51,7 @@ const handleSearch = (programId, facilityId) => { history.push(`/stockOnHand/${facilityId}/${programId}`); - } + }; const menu = document.getElementsByClassName('header ng-scope')[0]; 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 (
Index: src/stock-on-hand-mobile/stock-on-hand.routes.js =================================================================== diff -u -N -r70261f5c7613f4d536564b3f96b1a73980da3ec5 -r5b2b330673183035dce0a8ac56ec45394acc8c30 --- src/stock-on-hand-mobile/stock-on-hand.routes.js (.../stock-on-hand.routes.js) (revision 70261f5c7613f4d536564b3f96b1a73980da3ec5) +++ src/stock-on-hand-mobile/stock-on-hand.routes.js (.../stock-on-hand.routes.js) (revision 5b2b330673183035dce0a8ac56ec45394acc8c30) @@ -53,5 +53,5 @@ showInNavigationOnLowResolutions: false, accessRights: [STOCKMANAGEMENT_RIGHTS.STOCK_CARDS_VIEW] }); - } + }; })();