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 Gargron committed Jun 28, 2019
1 parent a672b35 commit 5d8971e
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 5d8971e

Please sign in to comment.