From 92b93e206cf166e4e7997cb67d8d577db4f63f3d Mon Sep 17 00:00:00 2001 From: storywithoutend Date: Tue, 3 Dec 2024 10:40:15 +0800 Subject: [PATCH] Update useResolverStatus.ts --- src/hooks/resolver/useResolverStatus.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hooks/resolver/useResolverStatus.ts b/src/hooks/resolver/useResolverStatus.ts index 90c703b53..76ccc754d 100644 --- a/src/hooks/resolver/useResolverStatus.ts +++ b/src/hooks/resolver/useResolverStatus.ts @@ -94,7 +94,8 @@ export const useResolverStatus = ({ hasResolver: !!profileResolverAddress && profileResolverAddress !== emptyAddress, hasLatestResolver: resolverType.data?.type === 'latest', isNameWrapperAware: profileResolverAddress - ? getResolverWrapperAwareness({ resolverAddress: profileResolverAddress, chainId }) + ? getResolverWrapperAwareness({ resolverAddress: profileResolverAddress, chainId }) || + resolverIsAuthorised.data?.isAuthorised : false, hasProfile: profileHasRecords(profile), }