Browse Source

fix: 🐛

imwald
codytseng 9 months ago
parent
commit
63e9d5a95e
  1. 2
      src/providers/UserTrustProvider.tsx

2
src/providers/UserTrustProvider.tsx

@ -55,7 +55,7 @@ export function UserTrustProvider({ children }: { children: React.ReactNode }) { @@ -55,7 +55,7 @@ export function UserTrustProvider({ children }: { children: React.ReactNode }) {
const isUserTrusted = useCallback(
(pubkey: string) => {
if (!currentPubkey) return true
if (!currentPubkey || pubkey === currentPubkey) return true
return wotSet.has(pubkey)
},
[currentPubkey]

Loading…
Cancel
Save