From d78d9f20a7a994298285ada3de8491b7de64b933 Mon Sep 17 00:00:00 2001 From: David Dyball Date: Thu, 2 Jul 2020 14:48:37 +0100 Subject: [PATCH] Fix variable --- plugins/catalog/src/components/CatalogPage/CatalogPage.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/catalog/src/components/CatalogPage/CatalogPage.tsx b/plugins/catalog/src/components/CatalogPage/CatalogPage.tsx index c1e02b3c28..e58b2d407b 100644 --- a/plugins/catalog/src/components/CatalogPage/CatalogPage.tsx +++ b/plugins/catalog/src/components/CatalogPage/CatalogPage.tsx @@ -82,7 +82,7 @@ const CatalogPageContents = () => { ); const filterGroups = useMemo( - (org: orgName) => [ + () => [ { name: 'Personal', items: [ @@ -101,7 +101,7 @@ const CatalogPageContents = () => { ], }, { - name: org, + name: orgName, items: [ { id: 'all', @@ -111,7 +111,7 @@ const CatalogPageContents = () => { ], }, ], - [isStarredEntity, userId], + [isStarredEntity, userId, orgName], ); return (