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