i18n: minor fixes
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user