fix: remove unused currentLocale variable in LocationCard

Remove unused import to resolve TypeScript warning [6133]

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Knee Cola
2025-12-29 18:51:45 +01:00
parent c81c182806
commit 8eb4aec3b7

View File

@@ -30,7 +30,6 @@ export const LocationCard: FC<LocationCardProps> = ({ location, currency }) => {
} = location; } = location;
const t = useTranslations("home-page.location-card"); const t = useTranslations("home-page.location-card");
const currentLocale = useLocale();
// sum all the unpaid and paid bill amounts (regardless of who pays) // 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); const totalUnpaid = bills.reduce((acc, bill) => !bill.paid ? acc + (bill.payedAmount ?? 0) : acc, 0);