diff --git a/src/components/HomePage/QuranGrowthJourneySection/CallToActionButtons/LearningPlansButtons.tsx b/src/components/HomePage/QuranGrowthJourneySection/CallToActionButtons/LearningPlansButtons.tsx index 2286666ea3..9a508fb0d3 100644 --- a/src/components/HomePage/QuranGrowthJourneySection/CallToActionButtons/LearningPlansButtons.tsx +++ b/src/components/HomePage/QuranGrowthJourneySection/CallToActionButtons/LearningPlansButtons.tsx @@ -34,14 +34,16 @@ const LearningPlansButtons = () => { }; const viewPlansButton = ( - +
+ +
); if (!isLoggedIn()) { diff --git a/src/components/HomePage/QuranGrowthJourneySection/CollapsibleSection/LearningPlans/index.tsx b/src/components/HomePage/QuranGrowthJourneySection/CollapsibleSection/LearningPlans/index.tsx index 664ce1cb83..aed1a4be87 100644 --- a/src/components/HomePage/QuranGrowthJourneySection/CollapsibleSection/LearningPlans/index.tsx +++ b/src/components/HomePage/QuranGrowthJourneySection/CollapsibleSection/LearningPlans/index.tsx @@ -28,11 +28,7 @@ const LearningPlans = () => { * If we are loading, or if we have an error, or if we have no data, we show the message */ if ((isValidating && !data) || error || (data?.count ?? 0) === 0) { - return ( -
-

{t('qgj.learning-plans.desc.logged-in-no-plans')}

-
- ); + return

{t('qgj.learning-plans.desc.logged-in-no-plans')}

; } // user has at least 1 plan return

{t('qgj.learning-plans.desc.logged-in')}

;