fix formatting

This commit is contained in:
Raicuparta 2023-06-29 13:12:30 +02:00
parent 500003f310
commit 75c2e803c9

View file

@ -284,7 +284,9 @@ export class Communities extends Component<any, CommunitiesState> {
handleSearchSubmit(i: Communities, event: any) { handleSearchSubmit(i: Communities, event: any) {
event.preventDefault(); event.preventDefault();
const searchParamEncoded = encodeURIComponent(i.state.searchText); 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({ static async fetchInitialData({