diff --git a/src/base/orgs/View.svelte b/src/base/orgs/View.svelte index 80dd1feb2..b7ef8a083 100644 --- a/src/base/orgs/View.svelte +++ b/src/base/orgs/View.svelte @@ -224,7 +224,7 @@
-
+
{/await} {/each} diff --git a/src/utils.ts b/src/utils.ts index 87215e85c..00d16f42f 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -231,7 +231,6 @@ export async function resolveLabel(label: string | undefined, config: Config): P return null; } - // Resolves an IDX profile or return null export async function resolveIdxProfile(caip10: string, config: Config): Promise { return config.idx.client.get("basicProfile", caip10); @@ -239,9 +238,9 @@ export async function resolveIdxProfile(caip10: string, config: Config): Promise // Resolves an ENS profile or return null export async function resolveEnsProfile(address: string, config: Config): Promise { - const label = await config.provider.lookupAddress(address); - if (label && await resolveLabel(parseEnsLabel(label, config), config)) { - return await getRegistration(label, config); + const name = await config.provider.lookupAddress(address); + if (name) { + return await getRegistration(name, config); } return null; }