From 9dfff39f88f64c1eea16d8875c7356f7927ed444 Mon Sep 17 00:00:00 2001 From: yuanzonghao Date: Sat, 6 Jun 2026 21:55:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(web):=20address=20review=20=E2=80=94=20remo?= =?UTF-8?q?ve=20unused=20var,=20add=20focus-visible,=20fix=20comment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove unused `isAuto` variable after magic-wand button removal - Add focus-visible ring to style cards for keyboard accessibility - Update DEFAULT_STYLE comment to match actual fallback (吉卜力) Co-Authored-By: Claude Opus 4.6 --- app/page.tsx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/app/page.tsx b/app/page.tsx index 410caaa..5381be5 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1189,7 +1189,6 @@ function StyleModal({
{list.map(({ name, i }) => { const isCustom = name === "自定义风格"; - const isAuto = name === "自动"; const thumb = STYLE_THUMB[name]; return (