diff --git a/src/renderer/components/ThreadChat.tsx b/src/renderer/components/ThreadChat.tsx index 57c902d..92236be 100644 --- a/src/renderer/components/ThreadChat.tsx +++ b/src/renderer/components/ThreadChat.tsx @@ -186,6 +186,8 @@ export default class ThreadChat extends Component { if (prevMessage !== null && prevMessage.author.uid === message.author.uid) return chatBubbles.push(); }); + else + chatBubbles.push(

Loading messages...

); return (
diff --git a/src/renderer/components/Threads.tsx b/src/renderer/components/Threads.tsx index 38a52b3..7eb4e70 100644 --- a/src/renderer/components/Threads.tsx +++ b/src/renderer/components/Threads.tsx @@ -100,6 +100,7 @@ export default class Threads extends Component { if (this.state.isHovering) classes += " " + mainHover; return (
{ this.setState({ isHovering: true }); }} onMouseLeave={() => { this.setState({ isHovering: false }); }}> + {this.state.joinedThreadList.length === 0 ?

Loading chats...

: null} {this.state.joinedThreadList.map((thread) => { return ([