chore: ran linting

This commit is contained in:
Anish Sarkar 2026-05-19 21:02:07 +05:30
parent f1b3c88354
commit d66295aedd
48 changed files with 372 additions and 443 deletions

View file

@ -3,11 +3,11 @@
import { ExternalLink, Globe } from "lucide-react";
import NextImage from "next/image";
import { Button } from "@/components/ui/button";
import { tryGetHostname } from "@/lib/url";
import { openSafeNavigationHref, sanitizeHref } from "../shared/media";
import { cn } from "./_adapter";
import { CitationHoverPopover } from "./citation-hover-popover";
import type { CitationVariant, SerializableCitation } from "./schema";
import { tryGetHostname } from "@/lib/url";
import { TYPE_ICONS } from "./type-icons";
const FALLBACK_LOCALE = "en-US";
@ -115,9 +115,7 @@ export function Citation(props: CitationProps) {
</div>
<p className="text-sm leading-snug font-medium">{title}</p>
{snippet && (
<p className="text-muted-foreground line-clamp-2 text-xs leading-relaxed">
{snippet}
</p>
<p className="text-muted-foreground line-clamp-2 text-xs leading-relaxed">{snippet}</p>
)}
</div>
</CitationHoverPopover>