This commit is contained in:
Alejandro Gomez 2023-02-12 22:28:41 +01:00 committed by Kieran
parent 728472d7bc
commit 8fb34cbbb0
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -34,7 +34,7 @@ export default function ProfileImage({
const navigate = useNavigate();
const user = useUserProfile(pubkey);
const nip05 = defaultNip ? defaultNip : user?.nip05;
const width = useClientWidth();
const width = usePageWidth();
const name = useMemo(() => {
return getDisplayName(user, pubkey);