From dd1b02912498060aadf6cad08ec4b41221e18872 Mon Sep 17 00:00:00 2001 From: Codex Review Integration Date: Thu, 17 Sep 2026 00:18:32 -0300 Subject: [PATCH] style(uplifts): apply prettier to the uplift detail modal --- .../_components/uplift-detail-modal.tsx | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) 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({ - +