Displaying differences for changeset |
@@ -273,7 +273,7 @@ |
}, [createProjectDetailsEQIPNum]) |
useEffect(() => { |
- if (eqipIdAlreadyUsed) { |
+ if (eqipIdAlreadyUsed && !isEditingProject) { |
const oldErrorInputs = errorInputs |
oldErrorInputs.push('detailsEQIPNum') |
setErrorInputs(oldErrorInputs) |