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);