Remove another console log

This commit is contained in:
Gwilym Inzani 2023-07-05 11:40:07 +01:00 committed by Corwin
parent bb47bc21a5
commit 472d641cfc
No known key found for this signature in database

View file

@ -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();
}