diff --git a/federation-registry-frontend/src/FormHandler.js b/federation-registry-frontend/src/FormHandler.js index 5adbd53..2c37364 100644 --- a/federation-registry-frontend/src/FormHandler.js +++ b/federation-registry-frontend/src/FormHandler.js @@ -42,7 +42,7 @@ const EditService = (props) => { localStorage.removeItem('url'); getData(); // eslint-disable-next-line react-hooks/exhaustive-deps - },[]); + },[props.review]); useEffect(()=>{ if(petitionData&&props.review){