diff --git a/packages/dev/src/CustomCatalog.tsx b/packages/dev/src/CustomCatalog.tsx index 8c4a382d..08526272 100644 --- a/packages/dev/src/CustomCatalog.tsx +++ b/packages/dev/src/CustomCatalog.tsx @@ -80,8 +80,7 @@ export const CustomCatalog: React.FC = () => { setFilteredQuickStarts(result); }; - const CatalogWithSections = React.useMemo( - () => ( + const CatalogWithSections = ( <> @@ -141,9 +140,7 @@ export const CustomCatalog: React.FC = () => { - ), - [activeQuickStartID, allQuickStartStates, allQuickStarts], - ); + ); const clearFilters = React.useCallback(() => { setFilter('keyword', ''); @@ -156,7 +153,7 @@ export const CustomCatalog: React.FC = () => { ); }, [allQuickStarts, setFilter]); - const quickStartCatalog = React.useMemo(() => { + const quickStartCatalog = () => { if (filteredQuickStarts.length === 0) { return ; } @@ -166,7 +163,7 @@ export const CustomCatalog: React.FC = () => { } return CatalogWithSections; - }, [CatalogWithSections, allQuickStarts.length, clearFilters, filteredQuickStarts]); + }; if (loading) { return ; @@ -184,7 +181,7 @@ export const CustomCatalog: React.FC = () => { - {quickStartCatalog} + {quickStartCatalog()} ); };