diff --git a/app/javascript/mastodon/features/compose/components/search.jsx b/app/javascript/mastodon/features/compose/components/search.jsx index dbc1e411619..34048b518d6 100644 --- a/app/javascript/mastodon/features/compose/components/search.jsx +++ b/app/javascript/mastodon/features/compose/components/search.jsx @@ -224,9 +224,9 @@ class Search extends PureComponent { handleForgetAllRecentSearchClick = () => { const { recent } = this.props; recent.toArray().map((search) => { - this.handleForgetRecentSearchClick(search); - }) - } + this.handleForgetRecentSearchClick(search); + }); + }; _unfocus () { document.querySelector('.ui').parentElement.focus(); @@ -351,10 +351,10 @@ class Search extends PureComponent { {options.length === 0 && ( <>