diff --git a/web/src/components/ProductDetail.tsx b/web/src/components/ProductDetail.tsx index d365c0c..a9a48ab 100644 --- a/web/src/components/ProductDetail.tsx +++ b/web/src/components/ProductDetail.tsx @@ -67,12 +67,6 @@ export function ProductDetail({ : []), ["Purchase date", fmt.date(item.purchaseDate, getStoredTimezone())], ["Bin", isCheckedOut ? "In your custody" : bin ? bin.name : —], - ...(item.containerWeight != null - ? [ - ["Container weight", `${item.containerWeight.toFixed(2)}g`] as [string, React.ReactNode], - ["Tare (empty jar)", `${(item.containerWeight - item.weight).toFixed(2)}g`] as [string, React.ReactNode], - ] - : []), ["Audit cadence", `Every ${cfg?.cadenceDays ?? "—"} days · ${cfg?.auditMode ?? "—"}`], [ "Cost per gram", @@ -296,7 +290,7 @@ export function ProductDetail({ fontStyle: "italic", }} > - Estimated by linear decay since last {last.mode} on {fmt.dateShort(last.date, getStoredTimezone())} ({last.value} + Estimated by linear decay since last {last.mode} on {fmt.dateShort(last.date, getStoredTimezone())} ({last.value.toFixed(2)} {cfg?.unit}). Re-audit to update. )} @@ -393,10 +387,10 @@ export function ProductDetail({