update personal dashboard screen

This commit is contained in:
reya
2023-11-03 15:38:58 +07:00
parent 64b4745993
commit da0b48c5df
22 changed files with 499 additions and 61 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ export function useProfile(pubkey: string, embed?: string) {
}
const cleanPubkey = pubkey.replace(/[^a-zA-Z0-9]/g, '');
const user = ndk.getUser({ hexpubkey: cleanPubkey });
const user = ndk.getUser({ pubkey: cleanPubkey });
return await user.fetchProfile();
},