Skip to content

Commit

Permalink
Update useResolverStatus.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
storywithoutend committed Dec 3, 2024
1 parent 7484950 commit 92b93e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hooks/resolver/useResolverStatus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
}
Expand Down

0 comments on commit 92b93e2

Please sign in to comment.