i18n: minor fixes

This commit is contained in:
2024-02-17 10:14:46 +01:00
parent fa555b6c24
commit fc6243f9b8
6 changed files with 12 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
'client only';
'use client';
import { Cog8ToothIcon, PlusCircleIcon } from "@heroicons/react/24/outline";
import { FC, ReactNode } from "react";
import { FC } from "react";
import { BillBadge } from "./BillBadge";
import { BillingLocation } from "../lib/db-types";
import { formatYearMonth } from "../lib/format";
@@ -38,7 +38,7 @@ export const LocationCard:FC<LocationCardProps> = ({location: { _id, name, yearM
{
monthlyExpense > 0 ?
<p>
{ t("payed-total") } <strong>${monthlyExpense}</strong>
{ t("payed-total") } <strong>${formatCurrency(monthlyExpense)}</strong>
</p>
: null
}