From 640a6ab8eb00785123e9a734c8ded0f59e8acabd Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 14 May 2022 13:20:21 -0500 Subject: [PATCH] Delete SearchResultsContainer --- .../compose/components/search_results.tsx | 14 +------------- .../containers/search_results_container.js | Bin 1347 -> 0 bytes app/soapbox/features/search/index.tsx | 4 ++-- 3 files changed, 3 insertions(+), 15 deletions(-) delete mode 100644 app/soapbox/features/compose/containers/search_results_container.js diff --git a/app/soapbox/features/compose/components/search_results.tsx b/app/soapbox/features/compose/components/search_results.tsx index d3fa555fad..2543e3626d 100644 --- a/app/soapbox/features/compose/components/search_results.tsx +++ b/app/soapbox/features/compose/components/search_results.tsx @@ -29,20 +29,8 @@ const messages = defineMessages({ type SearchFilter = 'accounts' | 'statuses' | 'hashtags'; -interface ISearchResults { - value: string, - results: ImmutableMap, - submitted: boolean, - expandSearch: (filter: SearchFilter) => void, - selectedFilter: SearchFilter, - selectFilter: (filter: SearchFilter) => void, - suggestions: ImmutableList, - trendingStatuses: ImmutableList, - trends: ImmutableList, -} - /** Displays search results depending on the active tab. */ -const SearchResults: React.FC = () => { +const SearchResults: React.FC = () => { const intl = useIntl(); const dispatch = useAppDispatch(); diff --git a/app/soapbox/features/compose/containers/search_results_container.js b/app/soapbox/features/compose/containers/search_results_container.js deleted file mode 100644 index 4ab9b712fc5c3861734a9e8d4b61d59a571e6f09..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1347 zcmaJ>O>5jR5WVlOn44vA*LQ~$3Zc+j$%bA^35q@52yDq{p$sg+!j1QVO zZ{CdFNVT1@4nCkXT4U+p3bi#YBo<}qzF4gKOLBKOsDP`{m9I}0b*1$ADF4bM%Zc9f4Qp1D~M z@g4EV$w4bSKSq2qKdtEq?!nIr;r=Up9KhcTgB1UyF8Oqf9(i^m38zWQYycK{mU_qn zc#}?hJ~!PxM&(#}kxO2USB0;|zspJ&#C17ljSZ2=35i*Q@RsIPYi z{$>k2DC(r&tmp!EsTwCWsBn6J7nX euw?)2Rai^j#_;%w%`RqsIUm+HlZw@ {
- +
);