import { Image } from "@shared/image"; import { DEFAULT_AVATAR } from "@stores/constants"; import { useProfile } from "@utils/hooks/useProfile"; import { shortenKey } from "@utils/shortenKey"; export function User({ pubkey, fallback, }: { pubkey: string; fallback?: string }) { const { status, user } = useProfile(pubkey, fallback); if (status === "loading") { return (