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
+1 -1
View File
@@ -370,7 +370,7 @@ function CommandPaletteDialog({ onClose }: { onClose: () => void }) {
<li key={entry.id} className="list-none">
<button
type="button"
aria-selected={isSelected}
aria-current={isSelected ? "true" : undefined}
onClick={() => navigate(entry.href)}
onMouseEnter={() => setSelected(i)}
style={{