fix: react-doctor exhaustive-deps 3→0, prefer-use-effect-event 3→0 (useEffectEvent for modal cancel handlers), role-supports-aria-props 3→0 (aria-pressed/aria-current on buttons)

This commit is contained in:
Nora
2026-06-26 05:53:17 -06:00
parent e3cdc6deb9
commit ed5afe4b21
8 changed files with 45 additions and 21 deletions
+2 -2
View File
@@ -152,7 +152,7 @@ export default function BrandSelector({
<li>
<button
type="button"
aria-selected={!activeBrand}
aria-pressed={!activeBrand}
onClick={() => selectBrand(null)}
className="w-full flex items-center gap-2 px-3 py-2 text-xs text-left transition-colors hover:bg-white/5"
style={{
@@ -185,7 +185,7 @@ export default function BrandSelector({
<li key={b.id}>
<button
type="button"
aria-selected={isActive}
aria-pressed={isActive}
onClick={() => selectBrand(b.id)}
className="w-full flex items-center gap-2 px-3 py-2 text-xs text-left transition-colors hover:bg-white/5"
style={{