Delay shortcut badge display by 150ms to avoid sidebar re-renders on quick modifier taps

This commit is contained in:
Mohamed Boudra
2026-04-12 12:00:45 +07:00
parent 56512d852b
commit dbc525c2ad
3 changed files with 48 additions and 10 deletions
@@ -0,0 +1,5 @@
import { useKeyboardShortcutsStore } from "@/stores/keyboard-shortcuts-store";
export function useShowShortcutBadges(): boolean {
return useKeyboardShortcutsStore((state) => state.showShortcutBadges);
}