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