Skip to content

Commit 3bd970c

Browse files
committed
fix: typo in search result url on search island
1 parent 15bded6 commit 3bd970c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/islands/search.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ function SearchResult({ result = [], cursor, searchTerm }) {
242242
/**
243243
* @todo find better ways - don't hardcode `browse` string to the word slug
244244
*/
245-
href={`browse/${doc.slug}`}
245+
href={`/browse/${doc.slug}`}
246246
onClick={(e) => {
247247
e.preventDefault();
248248
$addToRecentSearchesFn({

0 commit comments

Comments
 (0)