"use client"; import { rename, remove } from "@/lib/actions"; export function HistoryItem({ row }: { row: { id: string; title: string; status: string; created_at: number } }) { // The server actions take (previousState, formData) for useActionState; a plain