Always value your objects
This commit is contained in:
parent
667c244e0e
commit
6d8f7bfae1
@ -142,7 +142,7 @@ const Packages: React.FC = () => {
|
||||
</TableRow>
|
||||
) : (
|
||||
packages.map((pkg) => {
|
||||
const firstPackage = pkg.Packages[0];
|
||||
const firstPackage = Object.values(pkg.Packages)[0];
|
||||
return (
|
||||
<TableRow
|
||||
key={pkg.Name}
|
||||
|
Loading…
Reference in New Issue
Block a user