mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-22 07:06:41 +11:00
Remove another console log
This commit is contained in:
parent
bb47bc21a5
commit
472d641cfc
1 changed files with 0 additions and 1 deletions
|
@ -3,7 +3,6 @@ import { useEffect } from "react";
|
|||
export const useOnKeyUp = (targetKey: string, callback: () => void) => {
|
||||
useEffect(() => {
|
||||
const downHandler = (evnt: KeyboardEvent) => {
|
||||
console.log(evnt.key);
|
||||
if (evnt.key === targetKey) {
|
||||
callback();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue