diff --git a/src/shared/components/community/communities.tsx b/src/shared/components/community/communities.tsx index 30a4280d..8d86d9d8 100644 --- a/src/shared/components/community/communities.tsx +++ b/src/shared/components/community/communities.tsx @@ -284,7 +284,9 @@ export class Communities extends Component { handleSearchSubmit(i: Communities, event: any) { event.preventDefault(); const searchParamEncoded = encodeURIComponent(i.state.searchText); - i.context.router.history.push(`/search?q=${searchParamEncoded}&type=Communities`); + i.context.router.history.push( + `/search?q=${searchParamEncoded}&type=Communities` + ); } static async fetchInitialData({