chat header

This commit is contained in:
Martti Malmi 2023-08-02 14:36:27 +03:00
parent ee6f047012
commit 81cdcfc0af
2 changed files with 6 additions and 1 deletions

View File

@ -80,7 +80,7 @@ const ChatList = ({ activeChat, className }) => {
}) as string[];
setSortedChats(sorted);
},
300,
1000,
{ leading: true },
),
[],

View File

@ -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>