Always value your objects

This commit is contained in:
ferreo 2024-07-30 02:17:28 +01:00
parent 667c244e0e
commit 6d8f7bfae1

View File

@ -142,7 +142,7 @@ const Packages: React.FC = () => {
</TableRow> </TableRow>
) : ( ) : (
packages.map((pkg) => { packages.map((pkg) => {
const firstPackage = pkg.Packages[0]; const firstPackage = Object.values(pkg.Packages)[0];
return ( return (
<TableRow <TableRow
key={pkg.Name} key={pkg.Name}