Skip to content

Commit

Permalink
Use 0 for number of public stories in search hit
Browse files Browse the repository at this point in the history
  • Loading branch information
kudlajz committed Feb 8, 2024
1 parent b4a076a commit dc0374a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/Search/components/Hit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export function Hit({ hit }: Props) {
name,
slug,
description: null,
public_stories_number: 0, // We do not have access to number of stories from Algolia
}))
.filter((category) => Boolean(category.slug)),
[localeCode, categories],
Expand Down

0 comments on commit dc0374a

Please sign in to comment.