This commit is contained in:
2025-09-01 16:38:47 -06:00
parent 0d3d20832f
commit 938e75b9bc
2 changed files with 6 additions and 3 deletions

View File

@@ -38,8 +38,7 @@ function RegistrosCargadosModal({ open, onClose, registros }) {
<th className="px-2 py-1 border">Cantidad</th>
</tr>
</thead>
<tbody>
{(registros && typeof registros === 'object' ? Object.entries(registros) : []).map(([registro, cantidad]) => (
<tbody> {(registros && typeof registros === 'object' ? Object.entries(registros) : []).map(([registro, cantidad]) => (
<tr key={registro}>
<td className="px-2 py-1 border">{registro}</td>
<td className="px-2 py-1 border text-right">{cantidad}</td>