From b09733175e5314389cdc6e161b17f1dbfc211460 Mon Sep 17 00:00:00 2001 From: Frank Johnson Date: Wed, 8 Sep 2021 11:46:55 -0400 Subject: [PATCH] removed unused lines in AllShortcutsModal.tsx --- app/web/src/components/EditorMenu/AllShortcutsModal.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/web/src/components/EditorMenu/AllShortcutsModal.tsx b/app/web/src/components/EditorMenu/AllShortcutsModal.tsx index 788fedb..bf68cc1 100644 --- a/app/web/src/components/EditorMenu/AllShortcutsModal.tsx +++ b/app/web/src/components/EditorMenu/AllShortcutsModal.tsx @@ -1,12 +1,7 @@ -import { Menu } from '@headlessui/react' -import { createContext, useContext, useEffect, useState } from 'react' -import { useHotkeys } from 'react-hotkeys-hook' +import { createContext, useContext } from 'react' import { makeStyles } from '@material-ui/core/styles' import Dialog from '@material-ui/core/Dialog' import { editorMenuConfig } from './menuConfig' -import { useIdeContext } from 'src/helpers/hooks/useIdeContext' - -const SHORTCUT = 'ctrl+shift+/' const useStyles = makeStyles({ root: {