fix: 🐛
This commit is contained in:
parent
5a28233856
commit
63e9d5a95e
1 changed files with 1 additions and 1 deletions
|
|
@ -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]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue