diff --git a/src/components/navigation/SearchBar.tsx b/src/components/navigation/SearchBar.tsx
index 9954c2fe..52915a6c 100644
--- a/src/components/navigation/SearchBar.tsx
+++ b/src/components/navigation/SearchBar.tsx
@@ -2,7 +2,6 @@ import { Search, X } from "@styled-icons/boxicons-regular";
import { HelpCircle } from "@styled-icons/boxicons-solid";
import styled from "styled-components/macro";
import { useEffect, useRef, useState } from "preact/hooks";
-import { Tooltip } from "@revoltchat/ui";
import { internalEmit } from "../../lib/eventEmitter";
import { useSearchAutoComplete, transformSearchQuery, UserMapping } from "../../lib/hooks/useSearchAutoComplete";
import SearchAutoComplete from "./SearchAutoComplete";
@@ -964,6 +963,7 @@ export function SearchBar() {
}, 0);
};
+
// Global keyboard shortcut
useEffect(() => {
const handleGlobalKeydown = (e: KeyboardEvent) => {
@@ -1008,31 +1008,27 @@ export function SearchBar() {
onKeyDown={handleKeyDown}
onKeyUp={onKeyUp}
/>
-
- {isSearching ? (
-
-
-
- ) : (
-
-
-
- )}
-
+ {isSearching ? (
+
+
+
+ ) : (
+
+
+
+ )}
{autocompleteState.type !== "none" && (
{option.label}
{option.description}
-
-
-
+
))}