Skip to content

Commit

Permalink
chore: remove console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
santigp258 committed Jun 9, 2023
1 parent 4f60b66 commit bd82852
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/hooks/useShortcuts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,9 @@ export const useShortcuts = (shortcuts: ShortcutType[], debounce?: number) => {
setKeys([]);
}, debounce ?? 1000);

console.log(keys);

useEffect(() => {
if (hasItems(keys) && hasItems(shortcuts)) {
const shortcut = findShortcut(shortcuts, keys);
console.log('shoortcut', shortcut);
if (shortcut && shortcut.callback) {
shortcut.callback();
setKeys([]);
Expand Down

0 comments on commit bd82852

Please sign in to comment.