diff --git a/src/components/vibesuite/MapClient/MapClient.tsx b/src/components/vibesuite/MapClient/MapClient.tsx index 65deef8d..34569e22 100644 --- a/src/components/vibesuite/MapClient/MapClient.tsx +++ b/src/components/vibesuite/MapClient/MapClient.tsx @@ -70,7 +70,9 @@ export default function MapClient({ const [showScrollTop, setShowScrollTop] = useState(false); useEffect(() => { - const learned: string[] = accountData?.learnedSkills ?? []; + const learned: string[] = Array.isArray(accountData?.learnedSkills) + ? accountData.learnedSkills + : []; if (learned.length === 0) return; const hydrated: UserProgress = {}; for (const id of learned) {