chore: format
This commit is contained in:
@@ -13,7 +13,11 @@ export const useKeyDown = (callback: KeyDownCallback) => {
|
||||
if (app.lagModalOpen) return;
|
||||
|
||||
const ndsButton = mapCodeToNDS(event.code);
|
||||
if (ndsButton && document.activeElement && document.activeElement !== document.body) {
|
||||
if (
|
||||
ndsButton &&
|
||||
document.activeElement &&
|
||||
document.activeElement !== document.body
|
||||
) {
|
||||
(document.activeElement as HTMLElement).blur();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user