+
Chat Room: {code}
+ {/* add a message that says chat not saved, if they refresh ask are you sure you will lose your chat msg */}
+
+ {/* Temporary hardcoded message for debugging */}
+
+
+ Test User: This is a test message
+
+ {/* TODO: check out date problem */}
+ {new Date().toLocaleString()}
+
+
+ {messages.map((msg, index) => (
+
+
+ {msg.name}: {msg.message}
+
+ {new Date().toLocaleString()}
+
+ ))}
+
+
+
+