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

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);