fix(evaluations): optional chaining on evalPendingData to fix TS18048

This commit is contained in:
kitos
2026-06-05 16:56:29 +02:00
parent b630cd3210
commit 467afc334d
+1 -1
View File
@@ -447,7 +447,7 @@ export default function SystemPage() {
<ShieldCheck className="h-4 w-4" />
Bulk Approve
<span className="ml-1 rounded-full bg-green-500/30 px-1.5 py-0.5 text-xs font-bold">
{evalPendingData.pending}
{evalPendingData?.pending ?? 0}
</span>
</button>
)}