Skip to content

Commit

Permalink
Display FTS warning based on actual search term, not the one being typed
Browse files Browse the repository at this point in the history
Follow-up to mastodon#11112
  • Loading branch information
ClearlyClaire committed Jun 28, 2019
1 parent e64e6a0 commit 35ee040
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 35ee040

Please sign in to comment.