Skip to content

Commit cbc1661

Browse files
committed
fix: reduce cropLength to the default 10
1 parent d5e4f5f commit cbc1661

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/search-manager/data/api.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ export async function fetchSearchResults({
246246
highlightPreTag: HIGHLIGHT_PRE_TAG,
247247
highlightPostTag: HIGHLIGHT_POST_TAG,
248248
attributesToCrop: ['content'],
249-
cropLength: 20,
250249
sort,
251250
offset,
252251
limit,
@@ -281,7 +280,6 @@ export async function fetchSearchResults({
281280
highlightPreTag: HIGHLIGHT_PRE_TAG,
282281
highlightPostTag: HIGHLIGHT_POST_TAG,
283282
attributesToCrop: ['description'],
284-
cropLength: 15,
285283
sort,
286284
offset,
287285
limit,

0 commit comments

Comments
 (0)