Fix button to dismiss suggestions not showing up in search results (#19325)

Fix a typo. The scope of this fix is pretty minor as that view only ever
shows up in one corner case, now.
th-downstream
Claire 2 years ago committed by GitHub
parent aa2b4d5c4c
commit 177683d8eb

@ -61,8 +61,8 @@ class SearchResults extends ImmutablePureComponent {
<AccountContainer
key={suggestion.get('account')}
id={suggestion.get('account')}
actionIcon={suggestion.get('source') === 'past_interaction' ? 'times' : null}
actionTitle={suggestion.get('source') === 'past_interaction' ? intl.formatMessage(messages.dismissSuggestion) : null}
actionIcon={suggestion.get('source') === 'past_interactions' ? 'times' : null}
actionTitle={suggestion.get('source') === 'past_interactions' ? intl.formatMessage(messages.dismissSuggestion) : null}
onActionClick={dismissSuggestion}
/>
))}

Loading…
Cancel
Save