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()