[MM-57519] Fill the {time} parameter with a blank string in places where it isn't used (#26666)

* [MM-57519] Fill the {time} parameter with a blank string in places where it isn't used

* Add placeholder in default message

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Devin Binnie
2024-04-08 08:56:06 -04:00
коммит произвёл GitHub
родитель 733fe8b902
Коммит a81ee87832

Просмотреть файл

@@ -55,7 +55,8 @@ const ExpiryTime = ({time, timezone, className, showPrefix, withinBrackets}: Pro
<>
<FormattedMessage
id='custom_status.expiry.until'
defaultMessage='Until'
defaultMessage='Until {time}'
values={{time: ''}}
/>{' '}
</>
);