style(uplifts): apply prettier to the uplift detail modal

This commit is contained in:
Codex Review Integration 2026-09-17 00:18:32 -03:00
parent 4bffdac175
commit dd1b029124

View file

@ -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 : "—"}
</Text>
</Box>
);
@ -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({
</DialogTitle>
<DialogContent>
<Box sx={{ display: "grid", gap: 3 }}>
<WorkOrderSection
item={item}
info={info}
unavailable={boardDetail.isError}
/>
<WorkOrderSection item={item} info={info} unavailable={boardDetail.isError} />
<RequestSection item={item} onOpenAttachment={onOpenAttachment} />
<DetailSection title="Approved on work order">
<ApprovedOnWoBreakdown