aboutsummaryrefslogtreecommitdiff
path: root/src/console/components/FindPrompt.tsx
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2021-04-04 18:15:59 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2021-04-04 18:15:59 +0900
commit39f96db5a3187b4ce2e7df529eaa456ee862dd68 (patch)
tree00a732748ddb5cd1b02870eb387334c1c61170f6 /src/console/components/FindPrompt.tsx
parent598b9914c21d609dedfa0a7a8d7d2b774d0bbc6d (diff)
Separate as CommandPrompt
Diffstat (limited to 'src/console/components/FindPrompt.tsx')
-rw-r--r--src/console/components/FindPrompt.tsx2
1 files changed, 0 insertions, 2 deletions
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,