import { PinIcon } from "@lume/icons"; import { cn } from "@lume/utils"; import { useTranslation } from "react-i18next"; import { Link } from "react-router-dom"; import { Note } from "."; import { useNoteContext } from "./provider"; import { useArk } from "@lume/ark"; export function NoteThread({ className }: { className?: string }) { const ark = useArk(); const event = useNoteContext(); const thread = ark.parse_event_thread({ content: event.content, tags: event.tags, }); const { t } = useTranslation(); if (!thread) return null; return (