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 <>; } }} - + ); };