mirror of
https://github.com/irislib/iris-messenger.git
synced 2024-10-18 14:13:21 +00:00
chat header
This commit is contained in:
parent
ee6f047012
commit
81cdcfc0af
@ -80,7 +80,7 @@ const ChatList = ({ activeChat, className }) => {
|
||||
}) as string[];
|
||||
setSortedChats(sorted);
|
||||
},
|
||||
300,
|
||||
1000,
|
||||
{ leading: true },
|
||||
),
|
||||
[],
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user