This commit is contained in:
ilya-bkv 2022-11-14 16:07:49 +03:00
parent b5c2684721
commit cc54f055f3
2 changed files with 4 additions and 2 deletions

View File

@ -11,7 +11,7 @@ type Props = {
const DialogCard = (props: Props) => {
return (
<div class={styles.DialogCard}>
<div class={styles.DialogCard} onClick={handleGoToChat}>
<div class={styles.avatar}>
<DialogAvatar name={props.name} url={props.userpic} online={props.online} />
</div>

View File

@ -132,7 +132,9 @@ export const InboxView = () => {
<div class="holder">
<div class="dialogs">
<For each={authors()}>
{(author) => <DialogCard name={author.name} slug={author.slug} online={true} />}
{(author) => (
<DialogCard id={author.id} name={author.name} slug={author.slug} online={true} />
)}
</For>
</div>
</div>