Skip to content

Commit cf68905

Browse files
improving profiles cards
1 parent 20967f3 commit cf68905

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/profile/profileCard.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ const { profile } = Astro.props;
4545
<div class="px-5 flex justify-center w-full flex-wrap">
4646
{
4747
profile["categories"].map((role) => (
48+
(categories[role]) && (
4849
<LinkIcon
4950
url={"/directorio/" + categories[role].slug}
5051
img={categories[role].ico}
@@ -54,7 +55,7 @@ const { profile } = Astro.props;
5455
size="w-6 h-6"
5556
padding="p-2 mx-1"
5657
/>
57-
))
58+
)))
5859
}
5960
</div>
6061
</a>

0 commit comments

Comments
 (0)