import { User } from "@/components/user"; import { LinkIcon } from "@lume/icons"; import { LumeWindow, useEvent } from "@lume/system"; import { Spinner } from "@lume/ui"; export function MentionNote({ eventId, openable = true, }: { eventId: string; openable?: boolean; }) { const { isLoading, isError, data } = useEvent(eventId); if (isLoading) { return (
); } if (isError || !data) { return (

Event not found with your current relay set

); } return (
ยท
{data.content}
{openable ? (
) : (
)}
); }