From bd24f5841ffe3098e35a0d6b18d3cdea0132acf5 Mon Sep 17 00:00:00 2001 From: Konstantin Levin Date: Wed, 30 Nov 2022 14:27:37 +0100 Subject: [PATCH] #1826: do not select a hotkey tool if we are hovering over an atom / fix import error --- .../ketcher-react/src/script/ui/state/hotkeys.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/ketcher-react/src/script/ui/state/hotkeys.ts b/packages/ketcher-react/src/script/ui/state/hotkeys.ts index f17dfd0dea..a6d96abb1f 100644 --- a/packages/ketcher-react/src/script/ui/state/hotkeys.ts +++ b/packages/ketcher-react/src/script/ui/state/hotkeys.ts @@ -14,12 +14,6 @@ * limitations under the License. ***************************************************************************/ -declare global { - interface Window { - clipboardData: any - } -} - import * as clipArea from '../component/cliparea/cliparea' import { @@ -37,6 +31,12 @@ import actions from '../action' import keyNorm from '../data/convert/keynorm' import { openDialog } from './modal' +declare global { + interface Window { + clipboardData: any + } +} + export function initKeydownListener(element) { return function (dispatch, getState) { const hotKeys = initHotKeys()