BugFix: fixed translation formating
This commit is contained in:
@@ -38,11 +38,7 @@ export const LocationCard:FC<LocationCardProps> = ({location: { _id, name, yearM
|
||||
{
|
||||
monthlyExpense > 0 ?
|
||||
<p>
|
||||
{
|
||||
t.rich("payed-total", {
|
||||
amount: formatCurrency(monthlyExpense),
|
||||
strong: (chunks:ReactNode) => `<strong>${chunks}</strong>`
|
||||
})}
|
||||
{ t("payed-total") } <strong>${monthlyExpense}</strong>
|
||||
</p>
|
||||
: null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user