summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2024-04-26 15:23:19 +0200
committerClaire <claire.github-309c@sitedethib.com>2024-04-26 15:23:19 +0200
commit4ec08fb99336efc985fb6d9fb54d2af381f96923 (patch)
treeba494e25f7298b930284ddecca7c206cc198ad2b
parente8455948780d4c4b8d2d42fa1115fa7f7df87f7f (diff)
Drop unused props
-rw-r--r--app/javascript/mastodon/features/compose/containers/search_results_container.js4
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);