diff --git a/src/shared/components/search.tsx b/src/shared/components/search.tsx index c1e85ff5..a883c78d 100644 --- a/src/shared/components/search.tsx +++ b/src/shared/components/search.tsx @@ -1069,14 +1069,14 @@ export class Search extends Component { handleCommunityFilterChange({ value }: Choice) { this.updateUrl({ - communityId: getIdFromString(value), + communityId: getIdFromString(value) ?? 0, page: 1, }); } handleCreatorFilterChange({ value }: Choice) { this.updateUrl({ - creatorId: getIdFromString(value), + creatorId: getIdFromString(value) ?? 0, page: 1, }); }