Skip to content

Commit d51e3f8

Browse files
committed
search: unify star in expanded peek
1 parent e75643a commit d51e3f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/components/search.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ function SearchResultItem({
221221
function MultiResultPeek({ searchResult }: { searchResult: { url: string; match: ContentMatch | SymbolMatch } }) {
222222
const { match } = searchResult;
223223
const navigationTitle = `Peek ${match.type} results`;
224-
const matchTitle = `${match.repository} ${match.repoStars ? `(${match.repoStars} ★)` : ""}`;
224+
const matchTitle = `${match.repository} ${match.repoStars ? `- ${match.repoStars} ★` : ""}`;
225225

226226
// Match types with expanded peek support
227227
switch (match.type) {

0 commit comments

Comments
 (0)