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.
This commit is contained in:
Claire 2022-10-09 12:28:59 +02:00 committed by GitHub
parent f41ec9af05
commit 2b00ccdbd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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