]> Untitled Git - lemmy-ui.git/commitdiff
fix formatting
authorRaicuparta <Raicuparta@users.noreply.github.com>
Thu, 29 Jun 2023 11:12:30 +0000 (13:12 +0200)
committerRaicuparta <Raicuparta@users.noreply.github.com>
Thu, 29 Jun 2023 11:12:30 +0000 (13:12 +0200)
src/shared/components/community/communities.tsx

index 30a4280da72ae6ca2f818e662250263abdf446f6..8d86d9d8349985f5ff140ba2d6ff9b8ad851f7e5 100644 (file)
@@ -284,7 +284,9 @@ export class Communities extends Component<any, CommunitiesState> {
   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({