Always value your objects
This commit is contained in:
parent
667c244e0e
commit
6d8f7bfae1
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user