fix(Skills): 'Element[]' is missing error resolved

This commit is contained in:
2026-03-23 00:06:04 +01:00
parent 8185757933
commit 53b1c4d825

View File

@@ -20,6 +20,7 @@ export default function Skills({ id, open, onClose }: SkillsProps) {
return (
<Window open={open} onClose={onClose}>
<Section id={id} title={t("skills.title")}>
<>
{skillsData.map((section, i) => (
<div key={i} className="flex flex-col gap-2">
<div className="flex flex-col gap-2 max-w-3xl w-full bg-black/20 rounded-2xl p-8 space-y-4 shadow-lg">
@@ -48,6 +49,7 @@ export default function Skills({ id, open, onClose }: SkillsProps) {
</div>
</div>
))}
</>
</Section>
</Window>
);