diff --git a/app/ui/InfoBox.tsx b/app/ui/InfoBox.tsx index 2380761..5601459 100644 --- a/app/ui/InfoBox.tsx +++ b/app/ui/InfoBox.tsx @@ -10,7 +10,7 @@ export const InfoBox: FC<{ const t = useTranslations("info-box"); return ( -
+
{title ?? t("default-title")} diff --git a/app/ui/LocationEditForm.tsx b/app/ui/LocationEditForm.tsx index 2572c2b..ae05270 100644 --- a/app/ui/LocationEditForm.tsx +++ b/app/ui/LocationEditForm.tsx @@ -194,7 +194,7 @@ export const LocationEditForm: FC = ({ location, yearMont - ) : // ELSE include hidden inputs to preserve existing values + ) : // ELSE include hidden inputs to preserve existing values <> = ({ location, yearMont { formValues.tenantPaymentMethod === "none" && formValues.proofOfPaymentType === "combined" ? -

+

{ t.rich("proof-of-payment-attachment-type--option--combined--hint", { @@ -247,15 +247,13 @@ export const LocationEditForm: FC = ({ location, yearMont ) }

: -

+

{ formValues.proofOfPaymentType === "combined" ? t("proof-of-payment-attachment-type--option--combined--tooltip") : t("proof-of-payment-attachment-type--option--per-bill--tooltip") }

- - } diff --git a/app/ui/UserSettingsForm.tsx b/app/ui/UserSettingsForm.tsx index b508932..45877ac 100644 --- a/app/ui/UserSettingsForm.tsx +++ b/app/ui/UserSettingsForm.tsx @@ -282,7 +282,7 @@ const FormFields: FC = ({ userSettings, errors, message }) => { { formValues.enableRevolutPayment ? (
-
{t("revolut-form-title")}
+
{t("revolut-form-title")}