diff --git a/src/app/(protected)/uplifts/_components/uplift-detail-modal.tsx b/src/app/(protected)/uplifts/_components/uplift-detail-modal.tsx index 39ef1ff0..dbef42c4 100644 --- a/src/app/(protected)/uplifts/_components/uplift-detail-modal.tsx +++ b/src/app/(protected)/uplifts/_components/uplift-detail-modal.tsx @@ -200,11 +200,7 @@ function BreakdownRow({ variant={strong ? "body" : "description"} className={strong ? "font-medium" : undefined} > - {value != null - ? formatUpliftMoney(value) - : unavailable - ? UNAVAILABLE_LABEL - : "—"} + {value != null ? formatUpliftMoney(value) : unavailable ? UNAVAILABLE_LABEL : "—"} ); @@ -273,11 +269,7 @@ function UpliftModalActions({ onReject: (row: UpliftQueueItem) => void; onRevoke: (row: UpliftQueueItem) => void; }) { - const revokeTooltip = !canRevoke - ? ADMIN_ONLY_REVOKE_TOOLTIP - : closed - ? CLOSED_WO_TOOLTIP - : ""; + const revokeTooltip = !canRevoke ? ADMIN_ONLY_REVOKE_TOOLTIP : closed ? CLOSED_WO_TOOLTIP : ""; return ( <> {item.status === "Pending" && ( @@ -382,11 +374,7 @@ export function UpliftDetailModal({ - +