Skip to content

Commit 3ec5c8a

Browse files
authored
docs: prioritize doc search results 📚 (#7959)
1 parent 17268f7 commit 3ec5c8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎packages/docs/src/components/docsearch/doc-search-modal.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export const DocSearchModal = component$(
8181
})
8282
.then(({ collections }) => {
8383
state.status = 'idle';
84-
state.collections = collections.map((c) => ({
84+
state.collections = collections.reverse().map((c) => ({
8585
...c,
8686
source: {
8787
items: c.items,

0 commit comments

Comments
 (0)