Skip to content

Commit

Permalink
chat header
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalmi committed Aug 2, 2023
1 parent ee6f047 commit 81cdcfc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/views/chat/ChatList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const ChatList = ({ activeChat, className }) => {
}) as string[];
setSortedChats(sorted);
},
300,
1000,
{ leading: true },
),
[],
Expand Down
5 changes: 5 additions & 0 deletions src/js/views/chat/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ const Header = ({ activeChat }) => {
<Name pub={activeChat} />
</div>
</Show>
<Show when={!activeChat}>
<div className="flex flex-row gap-2 items-center">
{t('chat')}
</div>
</Show>
<Show when={loggedIn}>
<div></div>
</Show>
Expand Down

0 comments on commit 81cdcfc

Please sign in to comment.