Skip to content

Commit e5a5ffd

Browse files
committed
fix: use trimmed query consistently
1 parent c9ad183 commit e5a5ffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/composables/useCommandPaletteCommands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export function useCommandPaletteCommands() {
153153
}))
154154
})
155155

156-
const { results } = useFuse(query, commands, {
156+
const { results } = useFuse(trimmedQuery, commands, {
157157
fuseOptions: {
158158
keys: ['label', 'keywords'],
159159
threshold: 0.3,

0 commit comments

Comments
 (0)