import { ChatParticipant } from "chat"; import NoteToSelf from "./NoteToSelf"; import ProfileImage from "./ProfileImage"; import useLogin from "Hooks/useLogin"; export function ChatParticipantProfile({ participant }: { participant: ChatParticipant }) { const { publicKey } = useLogin(s => ({ publicKey: s.publicKey })); if (participant.id === publicKey) { return ; } return ; }