Skip to content

Commit

Permalink
add: webSocketController.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Celesca committed Nov 25, 2024
1 parent 5a1212a commit 83a13c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/message.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const Message = () => {

return (
<div className="flex h-screen bg-gray-100">
{activeChat ? (
{chats ? (
<div className="flex flex-1 pt-4">
<ChatList chats={chats} onSelectChat={handleChatSelect} />
<ChatBox activeChat={activeChat} />
Expand Down

0 comments on commit 83a13c8

Please sign in to comment.