From a0cdbd1d825deb254555043eb87dec421622aec9 Mon Sep 17 00:00:00 2001 From: Josh Knapp Date: Sun, 12 Jul 2026 13:46:33 -0700 Subject: [PATCH] refactor(builder): remove dead FeaturesGrid mediaType field (D1c) FeatureItem.mediaType was never read anywhere -- the icon-vs-image choice is (correctly) driven by feat.image truthiness, set via the AssetPicker in FeaturesEditor. Neither the default items nor FeaturesEditor's "add item" object ever set it. Remove the dead field; image-precedence render/export behavior is unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) --- craft/src/components/sections/FeaturesGrid.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/craft/src/components/sections/FeaturesGrid.tsx b/craft/src/components/sections/FeaturesGrid.tsx index 97463eb..cab8c49 100644 --- a/craft/src/components/sections/FeaturesGrid.tsx +++ b/craft/src/components/sections/FeaturesGrid.tsx @@ -7,7 +7,6 @@ interface FeatureItem { title: string; description: string; icon: string; - mediaType?: 'icon' | 'image'; // default behaves as 'icon' when undefined image?: string; imageAlt?: string; buttonText?: string;