diff --git a/frontend/src/components/ChatBox/ChatBox.tsx b/frontend/src/components/ChatBox/ChatBox.tsx index 57d2cbafe..137b3e2c8 100644 --- a/frontend/src/components/ChatBox/ChatBox.tsx +++ b/frontend/src/components/ChatBox/ChatBox.tsx @@ -141,8 +141,6 @@ function ChatBox({ // update emails addSentEmails(response.sentEmails); - // surely the presence of the message is enough to know if the level is complete - // We can scrap wonLevel and rename resultingChatMessage to levelCompleteMessage if (response.wonLevelMessage) { updateNumCompletedLevels(currentLevel); const levelCompleteMessage = makeChatMessageFromDTO(