mirror of
https://github.com/mastodon/mastodon.git
synced 2026-09-27 10:08:08 -05:00
Resolve no-extra-boolean-cast JS lint warnings (#40590)
This commit is contained in:
@@ -59,7 +59,7 @@ export const textForScreenReader = ({intl, status, rebloggedByText = false, isQu
|
||||
isQuote ? intl.formatMessage(messages.quote_noun) : undefined,
|
||||
displayName.length === 0 ? status.getIn(['account', 'acct']).split('@')[0] : displayName,
|
||||
spoilerText && status.get('hidden') ? spoilerText : contentText,
|
||||
!!status.get('quote') ? intl.formatMessage(messages.contains_quote) : undefined,
|
||||
status.get('quote') ? intl.formatMessage(messages.contains_quote) : undefined,
|
||||
intl.formatDate(status.get('created_at'), { hour: '2-digit', minute: '2-digit', month: 'short', day: 'numeric' }),
|
||||
status.getIn(['account', 'acct']),
|
||||
rebloggedByText,
|
||||
|
||||
Reference in New Issue
Block a user