"use client"; import { useSetAtom } from "jotai"; import { Database } from "lucide-react"; import type { FC } from "react"; import { openRunCitationPanelAtom } from "@/atoms/citation/citation-panel.atom"; import { Button } from "@/components/ui/button"; import { Tooltip, TooltipContent, TooltipTrigger } from "@/components/ui/tooltip"; /** Inline citation badge for a scraper run; opens the run in the citation panel. */ export const RunCitation: FC<{ runId: string }> = ({ runId }) => { const openRunPanel = useSetAtom(openRunCitationPanelAtom); return ( See where this came from ); };