diff --git a/src/components/LearningPath.astro b/src/components/LearningPath.astro index fe32e649e1e448f..060a2943c496cac 100644 --- a/src/components/LearningPath.astro +++ b/src/components/LearningPath.astro @@ -64,17 +64,19 @@ if (!firstModule) Start module -
- -
    - {units.map((unit) => ( -
  1. - {unit.data.title} -
  2. - ))} -
-
-
+ {units.length > 0 && ( +
+ +
    + {units.map((unit) => ( +
  1. + {unit.data.title} +
  2. + ))} +
+
+
+ )} ); })