Skip to content

Commit 65c3a05

Browse files
committed
chore(core): cleanup
1 parent 2f2f537 commit 65c3a05

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/core/src/composables/useKeyPress.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ function isKeyMatch(pressedKey: string, keyToMatch: string, pressedKeys: Set<str
4040

4141
function createKeyPredicate(keyFilter: string | string[], pressedKeys: Set<string>): KeyPredicate {
4242
return (event: KeyboardEvent) => {
43-
console.log(event.type)
44-
4543
// if the keyFilter is an array of multiple keys, we need to check each possible key combination
4644
if (Array.isArray(keyFilter)) {
4745
return keyFilter.some((key) => isKeyMatch(event.key, key, pressedKeys, event.type === 'keyup'))

0 commit comments

Comments
 (0)