From 2d025d8b0850cf2204de861feee30ef59067d69e Mon Sep 17 00:00:00 2001 From: Tom French Date: Wed, 24 Aug 2022 17:22:48 +0100 Subject: [PATCH] fix: get bold tags to display correctly --- .../src/components/accounts/Account.js | 20 ++++++++++++------- .../desktop-client/src/locales/en-GB.json | 2 +- .../desktop-client/src/locales/es-ES.json | 2 +- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/packages/desktop-client/src/components/accounts/Account.js b/packages/desktop-client/src/components/accounts/Account.js index 62f4b2b..5d51058 100644 --- a/packages/desktop-client/src/components/accounts/Account.js +++ b/packages/desktop-client/src/components/accounts/Account.js @@ -90,7 +90,7 @@ import { } from 'loot-core/src/client/data-hooks/schedules'; import { getPayeesById } from 'loot-core/src/client/reducers/queries'; import { useActiveLocation } from '../ActiveLocation'; -import { useTranslation } from 'react-i18next'; +import { Trans, useTranslation } from 'react-i18next'; function EmptyMessage({ onAdd }) { const { t } = useTranslation(); @@ -114,7 +114,7 @@ function EmptyMessage({ onAdd }) { }} > - {t('account.needAccountMessage')} + {'account.needAccountMessage'}