[object Object]

← back to Brand Selector Viewer

Remove unused index param from card render map

53e87496883478b13e8f98af7c0a701e20e562bc · 2026-05-18 17:40:17 -0700 · Steve

Files touched

Diff

commit 53e87496883478b13e8f98af7c0a701e20e562bc
Author: Steve <steve@designerwallcoverings.com>
Date:   Mon May 18 17:40:17 2026 -0700

    Remove unused index param from card render map
---
 index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.html b/index.html
index 2bd31dc..2b6b61f 100644
--- a/index.html
+++ b/index.html
@@ -382,7 +382,7 @@ const WALL = [
 const state = { fashion: new Set(), wall: new Set() };
 
 function render() {
-  const make = (cat, list) => list.map((b,i) => {
+  const make = (cat, list) => list.map((b) => {
     const sel = state[cat].has(b.name) ? "selected" : "";
     const swatches = b.palette.map(c => `<span class="swatch" style="background:${c}"></span>`).join("");
     return `

← 7549462 initial snapshot — gitify all builds (CLAUDE.md rule 2026-05  ·  back to Brand Selector Viewer  ·  Add error handling to output-viewer fetch so missing/file:// 01d9cf8 →