Skip to content

Commit 92c0468

Browse files
ineaguclaude
andcommitted
fix(onboarding): hide color picker when a starter site has a single palette
The per-card color swatch summary rendered whenever a site had at least one color, showing a lone non-actionable dot when there was nothing to choose. Only render the picker when there are 2+ palettes (colorOptions.length > 1). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QrGf4K9upxDKhRPVCztoLs
1 parent fcdccdb commit 92c0468

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

onboarding/src/Components/StarterSiteCard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ const StarterSiteCard = ( {
194194
) ) }
195195
</div>
196196
) }
197-
{ colorOptions.length > 0 && (
197+
{ colorOptions.length > 1 && (
198198
<div
199199
className={
200200
isColorExpanded

0 commit comments

Comments
 (0)