Skip to content

Commit

Permalink
Display FTS warning based on actual search term, not the one being ty…
Browse files Browse the repository at this point in the history
…ped (mastodon#11202)

Follow-up to mastodon#11112
  • Loading branch information
ClearlyClaire authored and hiyuki2578 committed Oct 2, 2019
1 parent f1cd05a commit 7c85f5e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { fetchSuggestions, dismissSuggestion } from '../../../actions/suggestion
const mapStateToProps = state => ({
results: state.getIn(['search', 'results']),
suggestions: state.getIn(['suggestions', 'items']),
searchTerm: state.getIn(['search', 'value']),
searchTerm: state.getIn(['search', 'searchTerm']),
});

const mapDispatchToProps = dispatch => ({
Expand Down

0 comments on commit 7c85f5e

Please sign in to comment.