"use client"; import { Check, Copy, CopyCheck, ImageOff, MessageSquareWarning, } from "lucide-react"; import { useRef, useState } from "react"; import { Button } from "@/components/ui/button"; import { Spinner } from "@/components/ui/spinner"; import { debugUploadSlip, discordCall } from "../../api"; export function Evernight() { return
; } export function CopyButton({ text }: { text: string }) { const [copied, setCopied] = useState(false); async function copy() { if (copied) return; await navigator.clipboard.writeText(text); setCopied(true); setTimeout(() => setCopied(false), 2000); } return ( ); } export function CallButton({ user }: { user: string }) { const [state, setState] = useState<"ready" | "loading" | "success" | "error">( "ready", ); return ( ); } export function DebugSlipUpload({ sid }: { sid: string }) { const ref = useRef