'use client'; import { CalendarDays, Copy, Download, Eye, FileText, Plus } from "lucide-react"; import { useRouter } from "next/navigation"; import { useState } from "react"; export default function PasteSidebar({ paste, id }: { paste: any; id: string }) { const [copied, setCopied] = useState(false); const router = useRouter(); return (

AltBin

{paste.title && (

{paste.title}

)}
{/* Infos */}
Views
{paste.views}
Created
{new Date(paste.createdAt).toLocaleDateString()}
{/* Actions */}
Copied!
); }