diff --git a/client/src/templates/Introduction/components/block.tsx b/client/src/templates/Introduction/components/block.tsx index cdfc56e6972..46deca5ad4c 100644 --- a/client/src/templates/Introduction/components/block.tsx +++ b/client/src/templates/Introduction/components/block.tsx @@ -140,61 +140,58 @@ class Block extends Component { * Example: https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/#basic-javascript */ const LegacyChallengeListBlock = ( - <> - {' '} - -
-
-

{blockTitle}

- {blockType && } - {!isAudited && ( -
- - {t('misc.translation-pending')} - -
- )} -
- - - {isExpanded && ( - )}
-
- + + + {isExpanded && ( + + )} + + ); /** @@ -203,31 +200,29 @@ class Block extends Component { * Example: https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/#javascript-algorithms-and-data-structures-projects */ const ProjectListBlock = ( - <> - -
-
-

{blockTitle}

- {blockType && } - {!isAudited && ( -
- - {t('misc.translation-pending')} - -
- )} -
- - + +
+
+

{blockTitle}

+ {blockType && } + {!isAudited && ( +
+ + {t('misc.translation-pending')} + +
+ )}
- - + + +
+
); /** @@ -236,45 +231,42 @@ class Block extends Component { * Example: https://www.freecodecamp.org/learn/2022/responsive-web-design/#learn-html-by-building-a-cat-photo-app */ const ChallengeGridBlock = ( - <> - {' '} - -
- - {!isAudited && ( -
- - {t('misc.translation-pending')} - -
- )} - {isExpanded && ( -
- - -
- )} -
-
- + +
+ + {!isAudited && ( +
+ + {t('misc.translation-pending')} + +
+ )} + {isExpanded && ( +
+ + +
+ )} +
+
); /**