From 75c2e803c9c17fb5b8ae72aea80616c1903cfb89 Mon Sep 17 00:00:00 2001 From: Raicuparta Date: Thu, 29 Jun 2023 13:12:30 +0200 Subject: [PATCH] fix formatting --- src/shared/components/community/communities.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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({