diff --git a/my-app/src/components/profile/experience.tsx b/my-app/src/components/profile/experience.tsx index ef52037..d531374 100644 --- a/my-app/src/components/profile/experience.tsx +++ b/my-app/src/components/profile/experience.tsx @@ -41,7 +41,7 @@ export default function Experience({ architect, architectScales }: { architect:

- Experiencia: +
  • Experiencia:
  • {experienceDict.find((exp) => exp.id === architect.experience_id)?.name} @@ -51,27 +51,19 @@ export default function Experience({ architect, architectScales }: { architect:

    - Escalas: +
  • Escalas:
  • -
    - {architectScales.length <= 3 ? ( - architectScales.map((scale: ScaleData) => ( -

    {scaleDict.find((scl) => scl.id === scale.scale_id)?.name}

    - )) - ) : ( - <> -

    - {architectScales.slice(0, 3).map((scale: ScaleData) => ( - {scaleDict.find((scl) => scl.id === scale.scale_id)?.name} - - ))} -

    -

    - {architectScales.slice(3).map((scale: ScaleData) => ( - {scaleDict.find((scl) => scl.id === scale.scale_id)?.name} - - ))} -

    - - )} +
    +

    + {architectScales.slice(0, 3).map((scale: ScaleData) => + scaleDict.find((scl) => scl.id === scale.scale_id)?.name + ).join(' - ')} +

    +

    + {architectScales.slice(3).map((scale: ScaleData) => + scaleDict.find((scl) => scl.id === scale.scale_id)?.name + ).join(' - ')} +