From 39f96db5a3187b4ce2e7df529eaa456ee862dd68 Mon Sep 17 00:00:00 2001
From: Shin'ya Ueoka <ueokande@i-beam.org>
Date: Sun, 4 Apr 2021 18:15:59 +0900
Subject: Separate as CommandPrompt

---
 src/console/components/FindPrompt.tsx | 2 --
 1 file changed, 2 deletions(-)

(limited to 'src/console/components/FindPrompt.tsx')

diff --git a/src/console/components/FindPrompt.tsx b/src/console/components/FindPrompt.tsx
index c6a0489..c79e4d3 100644
--- a/src/console/components/FindPrompt.tsx
+++ b/src/console/components/FindPrompt.tsx
@@ -42,8 +42,6 @@ const FindPrompt: React.FC = () => {
   };
 
   React.useEffect(() => {
-    window.focus();
-
     const {
       scrollWidth: width,
       scrollHeight: height,
-- 
cgit v1.2.3

