diff --git a/client/components/BillModal.jsx b/client/components/BillModal.jsx index 2dc8d12..0552e03 100644 --- a/client/components/BillModal.jsx +++ b/client/components/BillModal.jsx @@ -142,7 +142,6 @@ export default function BillModal({ bill, initialBill, categories, onClose, onSa const [bulkUnmatch, setBulkUnmatch] = useState(null); const [bulkBusy, setBulkBusy] = useState(false); - const isDebtCategory = isDebtCat(categories, categoryId); const isSnowballCategory = isSnowballCat(categories, categoryId); const showOnSnowball = snowballInclude || (isSnowballCategory && !snowballExempt); const canAutoMarkPaid = autopay && autodraftStatus === 'assumed_paid'; diff --git a/client/components/MobileBillRow.jsx b/client/components/MobileBillRow.jsx index 53deb6e..0cb863c 100644 --- a/client/components/MobileBillRow.jsx +++ b/client/components/MobileBillRow.jsx @@ -21,13 +21,6 @@ export const MobileBillRow = React.memo(function MobileBillRow({ bill, onEdit, o ); }, [bill.active]); - const autopayClass = useMemo(() => { - return cn( - 'rounded bg-emerald-500/20 px-1.5 py-0.5 text-[10px] font-semibold text-emerald-300', - bill.autopay_enabled ? 'opacity-100' : 'opacity-0', - ); - }, [bill.autopay_enabled]); - const toggleBtnClass = useMemo(() => { return cn( 'h-8 px-2.5 text-xs', diff --git a/client/pages/CategoriesPage.jsx b/client/pages/CategoriesPage.jsx index 1bb9e94..9ef761b 100644 --- a/client/pages/CategoriesPage.jsx +++ b/client/pages/CategoriesPage.jsx @@ -270,13 +270,6 @@ export default function CategoriesPage() { }); } - function onRowKeyDown(event, id) { - if (event.key === 'Enter' || event.key === ' ') { - event.preventDefault(); - toggleCategory(id); - } - } - async function handleAdd(e) { e.preventDefault(); const trimmed = newName.trim();