diff --git a/frontend/src/components/blueprints/BlueprintCatalog.tsx b/frontend/src/components/blueprints/BlueprintCatalog.tsx index e0670b61..a19a7832 100644 --- a/frontend/src/components/blueprints/BlueprintCatalog.tsx +++ b/frontend/src/components/blueprints/BlueprintCatalog.tsx @@ -61,17 +61,6 @@ export function BlueprintCatalog({ blueprints, onSelect, onCreate }: BlueprintCa } }, [blueprints, filter]); - const featured = useMemo(() => { - if (blueprints.length === 0) return null; - const sorted = [...blueprints].sort((a, b) => { - const aActive = a.deploymentCounts.active ?? 0; - const bActive = b.deploymentCounts.active ?? 0; - if (aActive !== bActive) return bActive - aActive; - return b.updated_at - a.updated_at; - }); - return sorted[0]; - }, [blueprints]); - return (
@@ -86,34 +75,6 @@ export function BlueprintCatalog({ blueprints, onSelect, onCreate }: BlueprintCa
- {featured && ( -
-
-
-
- ★ Featured · most-deployed -
-

- {featured.name} -

- {featured.description && ( -

{featured.description}

- )} -
- - · - {featured.deploymentCounts.active ?? 0}/{featured.deploymentTotal} active - · - drift {featured.drift_mode} -
-
-
- -
-
-
- )} -
setFilter('all')} /> setFilter('drifted')} tone="warning" />