diff --git a/web/src/pages/Company/CompanyData.tsx b/web/src/pages/Company/CompanyData.tsx index 695803b..5e6c972 100644 --- a/web/src/pages/Company/CompanyData.tsx +++ b/web/src/pages/Company/CompanyData.tsx @@ -121,7 +121,7 @@ const CompanyData: React.FC = () => { }, [state, relevantCredential]) useEffect(() => { - if (!dispatch || !state || !issuerDID || state.validatedDomains[issuerDID]) return; + if (!dispatch || !issuerDID || !state) return; dispatch?.({ type: Actions.REQUEST_DOMAIN_LINKAGE_VALIDATION, did: issuerDID }); setIssuerDomains(state.validatedDomains[issuerDID]) @@ -151,12 +151,12 @@ const CompanyData: React.FC = () => { relevantCredential.issuer }
-to
to
to
to