From 564c1d84945ff489ef225f2d31d9e77b28be1e91 Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 29 Jul 2021 21:47:45 +0100 Subject: [PATCH] Completely remove all references to Username. --- src/components/common/messaging/bars/TypingIndicator.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/common/messaging/bars/TypingIndicator.tsx b/src/components/common/messaging/bars/TypingIndicator.tsx index 260b56e3..d8c0edf6 100644 --- a/src/components/common/messaging/bars/TypingIndicator.tsx +++ b/src/components/common/messaging/bars/TypingIndicator.tsx @@ -84,16 +84,16 @@ export const TypingIndicator = observer(({ typing }: Props) => { const userlist = [...users].map((x) => x.username); const user = userlist.pop(); - for (let i = 0; i < userlist.length - 1; i++) { + /*for (let i = 0; i < userlist.length - 1; i++) { userlist.splice(i * 2 + 1, 0, ", "); - } + }*/ text = ( ); @@ -101,7 +101,7 @@ export const TypingIndicator = observer(({ typing }: Props) => { text = ( }} + fields={{ user: users[0].username }} /> ); }