From d52d84fff0737f67489d66d5fbc8420512325701 Mon Sep 17 00:00:00 2001 From: ani-kalpachka Date: Thu, 4 Jan 2024 13:33:03 +0200 Subject: [PATCH] Fix formatting errors --- .../SubscriptionSection.tsx | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/components/client/index/sections/SubscriptionSection/SubscriptionSection.tsx b/src/components/client/index/sections/SubscriptionSection/SubscriptionSection.tsx index c003c44ce..0256dc54c 100644 --- a/src/components/client/index/sections/SubscriptionSection/SubscriptionSection.tsx +++ b/src/components/client/index/sections/SubscriptionSection/SubscriptionSection.tsx @@ -32,9 +32,15 @@ const SubscriptionSection = () => { textAlign: 'center', }}> {t('index:subscription-section.heading')} - {t('index:subscription-section.content')} + + {t('index:subscription-section.content')} + {subscribeIsOpen && } - + { {t('campaigns:cta.subscribe-monthly-newsletter')} - {t('campaigns:cta.subscribe-general-monthly-newsletter')} - setSubscribeOpen(true)} - variant="contained"> + + {t('campaigns:cta.subscribe-general-monthly-newsletter')} + + setSubscribeOpen(true)} variant="contained"> {t('campaigns:cta.subscribe-general-newsletter-button')}