We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ce9e9b6 + 34a55f8 commit e71e4adCopy full SHA for e71e4ad
site/src/routes/index.tsx
@@ -77,9 +77,9 @@ const PrimitivesTable: Component<{ packages: PackageListItem[] | undefined }> =
77
{packages => {
78
// group packages by category
79
const categories = packages.reduce((acc: Record<string, PackageListItem[]>, pkg) => {
80
- const category = acc[pkg.category];
+ const category = acc[pkg.primitive.category];
81
if (category) category.push(pkg);
82
- else acc[pkg.category] = [pkg];
+ else acc[pkg.primitive.category] = [pkg];
83
return acc;
84
}, {});
85
0 commit comments