Skip to content

Commit

Permalink
fix: show message list.
Browse files Browse the repository at this point in the history
  • Loading branch information
wtlyu committed Mar 28, 2023
1 parent 5663c74 commit cad1a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/routes/Chat.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default function Chat() {

return (
<>
{conversationId == 'new' ? <Landing /> : <Messages />}
{conversationId === 'new' && !!messagesTree?.length ? <Landing /> : <Messages />}
<TextChat />
</>
);
Expand Down

0 comments on commit cad1a68

Please sign in to comment.