tests fix

This commit is contained in:
Aadesh Kheria 2026-04-13 12:47:20 -07:00
parent 224468cf69
commit 042e616587
2 changed files with 6 additions and 6 deletions

View File

@ -89,7 +89,7 @@ export function AddManualQa({ onClose, onSave }: {
Cancel
</button>
<button
onClick={() => handleSave(false)}
onClick={() => void handleSave(false)}
disabled={!canSave}
className={clsx(
"px-3 py-1.5 text-xs font-medium rounded-md",
@ -99,7 +99,7 @@ export function AddManualQa({ onClose, onSave }: {
Save Draft
</button>
<button
onClick={() => handleSave(true)}
onClick={() => void handleSave(true)}
disabled={!canSave}
className={clsx(
"px-3 py-1.5 text-xs font-medium rounded-md",

View File

@ -63,7 +63,7 @@ export function CallLogDetail({ row, allRows, onClose, onSaveCorrection, onMarkR
<div className="flex items-center gap-2">
{!isReviewed && onMarkReviewed && (
<button
onClick={() => onMarkReviewed(row.correlationId)}
onClick={() => void onMarkReviewed(row.correlationId)}
className="px-2.5 py-1 text-xs font-medium text-green-700 bg-green-50 rounded-md hover:bg-green-100 border border-green-200"
>
Mark as reviewed
@ -439,7 +439,7 @@ function HumanCorrectionCard({ row, onSave }: {
)}
{row.publishedToQa && (
<button
onClick={() => handleSave(false)}
onClick={() => void handleSave(false)}
className="text-red-500 hover:text-red-700"
>
Unpublish
@ -525,13 +525,13 @@ function HumanCorrectionCard({ row, onSave }: {
)}
<div className="ml-auto flex items-center gap-2">
<button
onClick={() => handleSave(false)}
onClick={() => void handleSave(false)}
className="px-3 py-1.5 text-xs font-medium text-gray-700 bg-gray-100 rounded-md hover:bg-gray-200"
>
Save Draft
</button>
<button
onClick={() => handleSave(true)}
onClick={() => void handleSave(true)}
className="px-3 py-1.5 text-xs font-medium text-white bg-blue-600 rounded-md hover:bg-blue-700"
>
{row.publishedToQa ? "Update & Publish" : "Save & Publish"}