mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-25 18:50:56 +02:00
lint
This commit is contained in:
@@ -7,9 +7,7 @@ interface IProps {
|
||||
|
||||
export function KeyHandler(props: IProps): React.ReactElement {
|
||||
useEffect(() => {
|
||||
console.log("binding");
|
||||
function press(this: Document, event: KeyboardEvent): void {
|
||||
console.log("press!");
|
||||
const f = props.onKeyDown.bind(this);
|
||||
f(event);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user