Browse Source

refine(app): tighten slash autocomplete matching (#12647)

Kit Langton 2 weeks ago
parent
commit
bc25efdf72
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/app/src/components/prompt-input.tsx

+ 1 - 1
packages/app/src/components/prompt-input.tsx

@@ -415,7 +415,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
   } = useFilteredList<SlashCommand>({
     items: slashCommands,
     key: (x) => x?.id,
-    filterKeys: ["trigger", "title", "description"],
+    filterKeys: ["trigger", "title"],
     onSelect: handleSlashSelect,
   })