remove focus

pull/5370/head
yann300 3 years ago
parent 1ca60f3262
commit 24f277adff
  1. 1
      libs/remix-ui/workspace/src/lib/components/file-explorer.tsx

@ -78,7 +78,6 @@ export const FileExplorer = (props: FileExplorerProps) => {
targetDocument.addEventListener('keydown', keyPressHandler)
targetDocument.addEventListener('keyup', keyUpHandler)
targetDocument.focus()
return () => {
targetDocument.removeEventListener('keydown', keyPressHandler)
targetDocument.removeEventListener('keyup', keyUpHandler)

Loading…
Cancel
Save