interface ActionButtonsProps { isUploading: boolean isChecking: boolean isSecretEmpty: boolean hasPendingOrErrors: boolean allDone: boolean hasErrors: boolean onUpload: () => void onCancel: () => void onReset: () => void } export default function ActionButtons({ isUploading, isChecking, isSecretEmpty, hasPendingOrErrors, allDone, hasErrors, onUpload, onCancel, onReset, }: ActionButtonsProps) { const cantUpload = isSecretEmpty || isChecking const isBusy = isUploading || isChecking return (