diff --git a/app/ui/AddLocationButton.tsx b/app/ui/AddLocationButton.tsx index 2f68524..06b73e2 100644 --- a/app/ui/AddLocationButton.tsx +++ b/app/ui/AddLocationButton.tsx @@ -1,3 +1,5 @@ +"use client"; + import { PlusCircleIcon, HomeIcon } from "@heroicons/react/24/outline"; import { YearMonth } from "../lib/db-types"; import { formatYearMonth } from "../lib/format"; diff --git a/app/ui/AddMonthButton.tsx b/app/ui/AddMonthButton.tsx index 8ba1484..001951a 100644 --- a/app/ui/AddMonthButton.tsx +++ b/app/ui/AddMonthButton.tsx @@ -25,5 +25,6 @@ export const AddMonthButton:React.FC = ({ yearMonth }) => { {t("tooltip")} - ); + + ); } diff --git a/app/ui/LocationCard.tsx b/app/ui/LocationCard.tsx index ce257ca..067ca2e 100644 --- a/app/ui/LocationCard.tsx +++ b/app/ui/LocationCard.tsx @@ -38,7 +38,7 @@ export const LocationCard:FC = ({location: { _id, name, yearM { monthlyExpense > 0 ?

- { t("payed-total") } ${formatCurrency(monthlyExpense)} + { t("payed-total-label") } ${formatCurrency(monthlyExpense)}

: null } diff --git a/docker-compose-deploy.yml b/docker-compose-deploy.yml index 368336b..72dbe4c 100644 --- a/docker-compose-deploy.yml +++ b/docker-compose-deploy.yml @@ -9,7 +9,7 @@ networks: services: web-app: - image: utility-bills-tracker:1.25.4 + image: utility-bills-tracker:1.25.5 networks: - traefik-network - mongo-network diff --git a/messages/en.json b/messages/en.json index 14a8549..a1ffba3 100644 --- a/messages/en.json +++ b/messages/en.json @@ -53,7 +53,7 @@ "location-card": { "edit-card-tooltip": "Edit realestate", "add-bill-button-tooltip": "Add a new bill", - "payed-total": "Payed total:" + "payed-total-label": "Payed total:" }, "month-card": { "payed-total-label": "Total monthly expenditure:" diff --git a/messages/hr.json b/messages/hr.json index c8a3e1c..6d623ec 100644 --- a/messages/hr.json +++ b/messages/hr.json @@ -53,7 +53,7 @@ "location-card": { "edit-card-tooltip": "Izmjeni nekretninu", "add-bill-button-tooltip": "Dodaj novi račun", - "payed-total": "Ukupno plaćeno: {amount}" + "payed-total-label": "Ukupno plaćeno:" }, "month-card": { "payed-total-label": "Ukupni mjesečni trošak:"