From e40f3465f9fb16085d10b89a8bfcb726352bd14e Mon Sep 17 00:00:00 2001 From: Hugh Rawlinson Date: Thu, 12 Oct 2023 11:35:17 +0000 Subject: [PATCH] Fix new prettier issues --- .../mastodon/features/compose/components/search.jsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 && ( <>
-

- {recent.size > 0 && +

+ {recent.size > 0 && () - } + }