'use client' import type { AdminEventDetailData } from './types' import Button from '@/components/formElements/Button' import { APP_ROUTES } from '@/constants/routes' import { texts } from '@/texts' import { resolveAdminEventLifecycleHint } from './adminEventLifecycleHints' interface AdminEventLifecycleActionsProps { event: AdminEventDetailData pendingId: string | null onApprove: () => void onOpenReject: () => void onForcePublish: () => void onComplete: () => void onCancel: () => void onDelete: () => void } const AdminEventLifecycleActions = ({ event, pendingId, onApprove, onOpenReject, onForcePublish, onComplete, onCancel, onDelete, }: AdminEventLifecycleActionsProps) => { const hint = resolveAdminEventLifecycleHint(event) return (
{hint}
: null}