From 8eb4aec3b72e3e93cb1ff9413fd7a44bbf991658 Mon Sep 17 00:00:00 2001 From: Knee Cola Date: Mon, 29 Dec 2025 18:51:45 +0100 Subject: [PATCH] fix: remove unused currentLocale variable in LocationCard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove unused import to resolve TypeScript warning [6133] 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- web-app/app/ui/LocationCard.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/web-app/app/ui/LocationCard.tsx b/web-app/app/ui/LocationCard.tsx index 1e3f70a..233c5fb 100644 --- a/web-app/app/ui/LocationCard.tsx +++ b/web-app/app/ui/LocationCard.tsx @@ -30,7 +30,6 @@ export const LocationCard: FC = ({ location, currency }) => { } = location; const t = useTranslations("home-page.location-card"); - const currentLocale = useLocale(); // sum all the unpaid and paid bill amounts (regardless of who pays) const totalUnpaid = bills.reduce((acc, bill) => !bill.paid ? acc + (bill.payedAmount ?? 0) : acc, 0);