Odstranit sk1/frontend/src/components/ChatWindow.jsx
This commit is contained in:
parent
c298308246
commit
7c96c7fdba
@ -1,16 +0,0 @@
|
||||
import React from "react";
|
||||
|
||||
|
||||
const ChatWindow = ({ messages }) => {
|
||||
return (
|
||||
<div className="chat-window">
|
||||
{messages.map((msg, index) => (
|
||||
<div key={index} className={`message ${msg.sender}`}>
|
||||
{msg.text}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default ChatWindow;
|
||||
Loading…
Reference in New Issue
Block a user