From 9ff180d70037949452ffae6f0f92ad72abc39057 Mon Sep 17 00:00:00 2001 From: ElementalAlchemist Date: Sat, 23 Nov 2024 01:20:06 -0600 Subject: [PATCH] Update chat when time range changes --- thrimbletrimmer/src/common/chat.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/thrimbletrimmer/src/common/chat.tsx b/thrimbletrimmer/src/common/chat.tsx index 2da5418..2169142 100644 --- a/thrimbletrimmer/src/common/chat.tsx +++ b/thrimbletrimmer/src/common/chat.tsx @@ -180,20 +180,20 @@ export const ChatDisplay: Component = (props) => { return ( - - {(item: Accessor, index: number) => { - const chatCommand = item().message.command; + + {(item: ChatMessageData, index: Accessor) => { + const chatCommand = item.message.command; if (chatCommand === "PRIVMSG") { return ( - + ); } else if (chatCommand === "USERNOTICE") { - return ; + return ; } else { return <>; } }} - + ); };