frontend/components/AddSite/index.jsx
Function AddSite
has 79 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function AddSite() {
useEffect(() => () => {
// dispatch the action to hide the additional new site fields
// when this component is unmounted
addNewSiteFieldsActions.hideAddNewSiteFields();