From d08e4f21a63a221e808306983ea219509c400c27 Mon Sep 17 00:00:00 2001 From: Barry Gitarts Date: Sun, 25 Nov 2018 06:27:53 -0500 Subject: [PATCH] display who is typing directly under chat input --- app/components/ChatRoom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/ChatRoom.js b/app/components/ChatRoom.js index ab8a084..a0f5b53 100644 --- a/app/components/ChatRoom.js +++ b/app/components/ChatRoom.js @@ -38,7 +38,7 @@ class WhoIsTyping extends PureComponent { render() { const userList = this.whoIsTyping(); return ( -
+
{!userList.length ? "" : `${userList.join(',')} is typing`}
)