From 994417ab301afd0131b20d6e2d18b2ef36954bf6 Mon Sep 17 00:00:00 2001 From: Syed Ayaan Ali Date: Wed, 14 Aug 2024 19:37:06 +0000 Subject: [PATCH] Invalid read more button removed. Author: Syed Ayaan Ali, Committer: Syed Ayaan Ali; aliaayan6786@gmail.com Signed-off-by: Syed Ayaan Ali --- src/components/AdventuresVol/index.js | 10 +++++++--- src/components/HandbookCard/index.js | 10 +++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/components/AdventuresVol/index.js b/src/components/AdventuresVol/index.js index 80c53d338105..468ccd6c6b68 100644 --- a/src/components/AdventuresVol/index.js +++ b/src/components/AdventuresVol/index.js @@ -13,9 +13,13 @@ const AdventuresVol = ({ title, description, to, image }) => {

{description}

-
- Read More -
+ {to && ( +
+ + Read More + +
+ )} diff --git a/src/components/HandbookCard/index.js b/src/components/HandbookCard/index.js index 886f42121295..cc6cb8c3c64b 100644 --- a/src/components/HandbookCard/index.js +++ b/src/components/HandbookCard/index.js @@ -13,9 +13,13 @@ const HandbookCard = ({ title, description, to }) => {

{description}

-
- Read More -
+ {to && ( +
+ + Read More + +
+ )}