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:
{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(' - ')} +