correjido potencial undefined

This commit is contained in:
2025-12-26 11:21:44 -03:00
parent 8670cf0b46
commit bddbf6da7f

View File

@@ -124,10 +124,10 @@
<CardContent>
<CardHeader class="flex justify-between">
<CardTitle>Seguidos:</CardTitle>
<Badge variant="secondary">{data.seguidos.response.length}</Badge>
<Badge variant="secondary">{data.seguidos.response.length || 0}</Badge>
</CardHeader>
<CardContent>
{#if data.seguidos.response.length === 0}
{#if data.seguidos.response.length || 0 === 0}
<h3>No hay Seguidos</h3>
{:else}
{#each data.seguidos.response as seguidos (seguidos.id)}
@@ -143,10 +143,10 @@
<CardContent>
<CardHeader class="flex justify-between">
<CardTitle>Seguidores:</CardTitle>
<Badge variant="secondary">{data.seguidores.response.length}</Badge>
<Badge variant="secondary">{data.seguidores.response.length || 0}</Badge>
</CardHeader>
<CardContent>
{#if data.seguidores.response.length === 0}
{#if data.seguidores.response.length || 0 === 0}
<h3>No hay Seguidores</h3>
{:else}
{#each data.seguidores.response as seguidores (seguidores.id)}