fix: 🐛

This commit is contained in:
codytseng 2025-07-30 10:58:38 +08:00
parent 5a28233856
commit 63e9d5a95e

View file

@ -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]