"use client"; import { useState } from "react"; import { api } from "./api"; export function EnqueueButton({ kind, label, payload }: { kind: string; label: string; payload?: Record }) { const [msg, setMsg] = useState(""); return {msg && {msg}}; }