From c60b6aa65db0c53dc1e8d302779f5e9b14458514 Mon Sep 17 00:00:00 2001 From: KMY Date: Tue, 27 May 2025 13:01:53 +0900 Subject: [PATCH] Fix lint --- app/javascript/mastodon/features/reaction_deck/index.tsx | 2 +- app/javascript/mastodon/features/search/index.tsx | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/javascript/mastodon/features/reaction_deck/index.tsx b/app/javascript/mastodon/features/reaction_deck/index.tsx index 945f884caf..8f417268b3 100644 --- a/app/javascript/mastodon/features/reaction_deck/index.tsx +++ b/app/javascript/mastodon/features/reaction_deck/index.tsx @@ -217,7 +217,7 @@ export const ReactionDeck: React.FC<{ setActiveId(null); }, - [dispatch, setActiveId], + [setActiveId], ); // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition diff --git a/app/javascript/mastodon/features/search/index.tsx b/app/javascript/mastodon/features/search/index.tsx index 1d6d69708a..26e6982ed4 100644 --- a/app/javascript/mastodon/features/search/index.tsx +++ b/app/javascript/mastodon/features/search/index.tsx @@ -189,7 +189,11 @@ export const SearchResults: React.FC<{ multiColumn: boolean }> = ({ onClickMore={handleSelectStatuses} > {results.statuses.slice(0, INITIAL_DISPLAY).map((id) => ( - + ))} )}