Delay shortcut badge display by 150ms to avoid sidebar re-renders on quick modifier taps
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import { useKeyboardShortcutsStore } from "@/stores/keyboard-shortcuts-store";
|
||||
|
||||
export function useShowShortcutBadges(): boolean {
|
||||
return useKeyboardShortcutsStore((state) => state.showShortcutBadges);
|
||||
}
|
||||
Reference in New Issue
Block a user