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:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user