diff options
author | Claire <claire.github-309c@sitedethib.com> | 2024-04-26 15:23:19 +0200 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2024-04-26 15:23:19 +0200 |
commit | 4ec08fb99336efc985fb6d9fb54d2af381f96923 (patch) | |
tree | ba494e25f7298b930284ddecca7c206cc198ad2b | |
parent | e8455948780d4c4b8d2d42fa1115fa7f7df87f7f (diff) |
Drop unused props
-rw-r--r-- | app/javascript/mastodon/features/compose/containers/search_results_container.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/javascript/mastodon/features/compose/containers/search_results_container.js b/app/javascript/mastodon/features/compose/containers/search_results_container.js index 54c2af31776..a0f55ca537b 100644 --- a/app/javascript/mastodon/features/compose/containers/search_results_container.js +++ b/app/javascript/mastodon/features/compose/containers/search_results_container.js @@ -1,20 +1,16 @@ import { connect } from 'react-redux'; import { expandSearch } from 'mastodon/actions/search'; -import { fetchSuggestions, dismissSuggestion } from 'mastodon/actions/suggestions'; import SearchResults from '../components/search_results'; const mapStateToProps = state => ({ results: state.getIn(['search', 'results']), - suggestions: state.getIn(['suggestions', 'items']), searchTerm: state.getIn(['search', 'searchTerm']), }); const mapDispatchToProps = dispatch => ({ - fetchSuggestions: () => dispatch(fetchSuggestions()), expandSearch: type => dispatch(expandSearch(type)), - dismissSuggestion: account => dispatch(dismissSuggestion(account.get('id'))), }); export default connect(mapStateToProps, mapDispatchToProps)(SearchResults); |