mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-13 12:55:19 +00:00
remove / keyboard shortcut hint in search bar
This commit is contained in:
parent
8f6052c8e1
commit
409344248c
1 changed files with 1 additions and 2 deletions
|
|
@ -253,7 +253,7 @@ export const SearchBar = ({
|
||||||
<CodeMirror
|
<CodeMirror
|
||||||
ref={editorRef}
|
ref={editorRef}
|
||||||
className="overflow-x-auto scrollbar-hide w-full"
|
className="overflow-x-auto scrollbar-hide w-full"
|
||||||
placeholder={isHistorySearchEnabled ? "Filter history..." : "Search..."}
|
placeholder={isHistorySearchEnabled ? "Filter history..." : "Search (/) through repos..."}
|
||||||
value={query}
|
value={query}
|
||||||
onChange={(value) => {
|
onChange={(value) => {
|
||||||
setQuery(value);
|
setQuery(value);
|
||||||
|
|
@ -267,7 +267,6 @@ export const SearchBar = ({
|
||||||
indentWithTab={false}
|
indentWithTab={false}
|
||||||
autoFocus={autoFocus ?? false}
|
autoFocus={autoFocus ?? false}
|
||||||
/>
|
/>
|
||||||
<KeyboardShortcutHint shortcut="/" />
|
|
||||||
<SearchSuggestionsBox
|
<SearchSuggestionsBox
|
||||||
ref={suggestionBoxRef}
|
ref={suggestionBoxRef}
|
||||||
query={query}
|
query={query}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue