diff --git a/components/ui/AutoCompleteInput.tsx b/components/ui/AutoCompleteInput.tsx
index d085ee5480624afeacec4b1af92dcb421f0844cd..ca140e5cddc4c68ba66d6e14ce5db323b132b958 100644
--- a/components/ui/AutoCompleteInput.tsx
+++ b/components/ui/AutoCompleteInput.tsx
@@ -144,22 +144,11 @@ const AutocompleteInput: React.FC<AutocompleteInputProps> = ({
         inputRef.current?.focus();
         linkResult ? "" : closeSearchBar();
       }
-    }
-  };
-
-  useEffect(() => {
-    const keyDownEvent = (event: KeyboardEvent) => {
       if (event.key === "Backspace") {
         setInputFocus(true); // Reopen the suggestions on backspace
       }
-    };
-
-    document.addEventListener("keydown", keyDownEvent);
-    return () => {
-      document.removeEventListener("keydown", keyDownEvent);
-    };
-  }, []);
-
+    }
+  };
   // Ensure the selected result is visible in the scrollable container
   useEffect(() => {
     if (selectedResultRef.current) {