Fixed recommendations modal heading issue

no ref
This commit is contained in:
Djordje Vlaisavljevic 2023-09-22 14:38:02 +01:00
parent 9c9f0ebadf
commit 99e455a4f5

View File

@ -302,7 +302,7 @@ const RecommendationsPage = () => {
};
}, []);
const heading = pageData && pageData.signup ? t('Welcome to {{siteTitle}}', {siteTitle: title}) : t('Recommendations');
const heading = pageData && pageData.signup ? t('Welcome to {{siteTitle}}', {siteTitle: title, interpolation: {escapeValue: false}}) : t('Recommendations');
const subheading = pageData && pageData.signup ? t('Thanks for subscribing. Here are a few other sites you may enjoy. ') : t('Here are a few other sites you may enjoy.');
if (!recommendationsEnabled) {