Deprecate icu:unreadMessage
This commit is contained in:
parent
3f9c184577
commit
c2044a4ce3
2 changed files with 3 additions and 16 deletions
|
@ -12,11 +12,6 @@ export type Props = {
|
|||
|
||||
export const LastSeenIndicator = forwardRef<HTMLDivElement, Props>(
|
||||
function LastSeenIndicatorInner({ count, i18n }, ref) {
|
||||
const message =
|
||||
count === 1
|
||||
? i18n('icu:unreadMessage')
|
||||
: i18n('icu:unreadMessages', { count });
|
||||
|
||||
return (
|
||||
<div className="module-last-seen-indicator" ref={ref}>
|
||||
<div className="module-last-seen-indicator__bar" role="separator" />
|
||||
|
@ -25,7 +20,7 @@ export const LastSeenIndicator = forwardRef<HTMLDivElement, Props>(
|
|||
className="module-last-seen-indicator__text"
|
||||
role="heading"
|
||||
>
|
||||
{message}
|
||||
{i18n('icu:unreadMessages', { count })}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue