Skip to content

Commit e71e4ad

Browse files
authored
Merge branch 'main' into context-consume
2 parents ce9e9b6 + 34a55f8 commit e71e4ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/src/routes/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ const PrimitivesTable: Component<{ packages: PackageListItem[] | undefined }> =
7777
{packages => {
7878
// group packages by category
7979
const categories = packages.reduce((acc: Record<string, PackageListItem[]>, pkg) => {
80-
const category = acc[pkg.category];
80+
const category = acc[pkg.primitive.category];
8181
if (category) category.push(pkg);
82-
else acc[pkg.category] = [pkg];
82+
else acc[pkg.primitive.category] = [pkg];
8383
return acc;
8484
}, {});
8585

0 commit comments

Comments
 (0)