diff --git a/src/hooks/useAgencyLegalDataMissing.tsx b/src/hooks/useAgencyLegalDataMissing.tsx index 1eb3de67..0d9d1162 100644 --- a/src/hooks/useAgencyLegalDataMissing.tsx +++ b/src/hooks/useAgencyLegalDataMissing.tsx @@ -34,5 +34,5 @@ export const useAgencyLegalDataMissing = (agencyData: AgencyData) => { hasMissingDataProtectionOfficerContact || hasMissingAlternativeDataProtectionRepresentativeContact) ); - }, [agencyData]); + }, [agencyData, isEnabled]); };