'use client'; import { Clock } from 'lucide-react'; import { useT } from '@/i18n/I18nProvider'; export function DeleteButtonLabel({ loading, label }: { loading?: boolean; label?: string }) { const t = useT(); if (loading) { return ( <> {t.components.deleting} ); } return <>{label ?? t.common.delete}; }