From: Raicuparta Date: Thu, 29 Jun 2023 11:12:30 +0000 (+0200) Subject: fix formatting X-Git-Url: http://these/git/%7B%24%7B%60data:application/static/%7Bthis.state.postForm.url%7D?a=commitdiff_plain;h=75c2e803c9c17fb5b8ae72aea80616c1903cfb89;p=lemmy-ui.git fix formatting --- diff --git a/src/shared/components/community/communities.tsx b/src/shared/components/community/communities.tsx index 30a4280..8d86d9d 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({