aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/downloadManager/DownloadManagerLayout.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/downloadManager/DownloadManagerLayout.tsx')
-rw-r--r--src/components/downloadManager/DownloadManagerLayout.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/downloadManager/DownloadManagerLayout.tsx b/src/components/downloadManager/DownloadManagerLayout.tsx
index 43670355c..09a1b2096 100644
--- a/src/components/downloadManager/DownloadManagerLayout.tsx
+++ b/src/components/downloadManager/DownloadManagerLayout.tsx
@@ -10,7 +10,7 @@ import {
10import { mdiClose } from '@mdi/js'; 10import { mdiClose } from '@mdi/js';
11import { Outlet } from 'react-router-dom'; 11import { Outlet } from 'react-router-dom';
12import type { Actions } from '../../actions/lib/actions'; 12import type { Actions } from '../../actions/lib/actions';
13import { isEscKeyPress } from '../../jsUtils'; 13import { isEscapeKeyPress } from '../../jsUtils';
14import Appear from '../ui/effects/Appear'; 14import Appear from '../ui/effects/Appear';
15import Icon from '../ui/icon'; 15import Icon from '../ui/icon';
16import ErrorBoundary from '../util/ErrorBoundary'; 16import ErrorBoundary from '../util/ErrorBoundary';
@@ -45,7 +45,7 @@ class DownloadManagerLayout extends Component<IProps> {
45 } 45 }
46 46
47 handleKeyDown(e: KeyboardEvent) { 47 handleKeyDown(e: KeyboardEvent) {
48 if (isEscKeyPress(e.key)) { 48 if (isEscapeKeyPress(e.key)) {
49 this.props.actions!.ui.closeSettings(); 49 this.props.actions!.ui.closeSettings();
50 } 50 }
51 } 51 }