From 5cb9872037edc72cb0ea21a4c4a1c9bec94983e5 Mon Sep 17 00:00:00 2001 From: abhishek Date: Wed, 16 Sep 2026 11:43:26 +0530 Subject: [PATCH] type check --- .../store-admin/pages/CountersPage.tsx | 34 ------------------- src/features/store-admin/pages/dispatch.css | 1 + src/index.css | 1 + 3 files changed, 2 insertions(+), 34 deletions(-) diff --git a/src/features/store-admin/pages/CountersPage.tsx b/src/features/store-admin/pages/CountersPage.tsx index 4439798..c74d285 100644 --- a/src/features/store-admin/pages/CountersPage.tsx +++ b/src/features/store-admin/pages/CountersPage.tsx @@ -359,40 +359,6 @@ function reasonFor(row: CounterRow): string { return row.card?.problem.detail ?? 'Reporting late.'; } -function lastSale(row: CounterRow): string { - const at = row.status?.lastBillAt; - if (!at) return '—'; - return `${shortAge(Date.now() - at.getTime())} ago`; -} - - - {row.terminalId} - {reasonFor(row)} - -