import { cn } from "@lume/utils"; import { useNoteContext } from "./provider"; import { User } from "../user"; export function NoteActivity({ className }: { className?: string }) { const event = useNoteContext(); const mentions = event.mentions; return (
To:
{mentions.splice(0, 4).map((mention) => ( ))} {mentions.length > 4 ? "..." : ""}
); }