From c5ed2cabcf54dd5ff538c8226b5f5ad73098ba63 Mon Sep 17 00:00:00 2001 From: Piotr Rogowski Date: Fri, 14 Oct 2022 14:26:14 +0200 Subject: [PATCH] Disable search autofocus --- src/pages/Hub.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/Hub.tsx b/src/pages/Hub.tsx index a1e4877..09cf210 100644 --- a/src/pages/Hub.tsx +++ b/src/pages/Hub.tsx @@ -69,7 +69,7 @@ const Hub = () => { useEffect(() => { loadData(); - searchRef.current?.focus(); + // searchRef.current?.focus(); // autofocus // eslint-disable-next-line react-hooks/exhaustive-deps }, []); @@ -165,7 +165,8 @@ const Hub = () => {
Hub