Fix the mechanical style rules. [skip build]

This commit is contained in:
2026-11-01 09:01:32 +11:00
parent 831ce01150
commit 9591d8d01b
42 changed files with 762 additions and 756 deletions
@@ -30,7 +30,7 @@ export function SettingTile({
const anchorId = anchorIdProp ?? autoAnchorId;
useEffect(() => {
if (!anchorId || !focusAnchorId || anchorId !== focusAnchorId) return;
if (!anchorId || !focusAnchorId || anchorId !== focusAnchorId) return undefined;
let cancelled = false;
let attempts = 0;
@@ -57,7 +57,7 @@ export function SettingTile({
}, [anchorId, focusAnchorId, setAnchorId]);
useEffect(() => {
if (!highlighted) return;
if (!highlighted) return undefined;
const timer = window.setTimeout(() => setHighlighted(false), 1400);
return () => window.clearTimeout(timer);
}, [highlighted]);