wip
This commit is contained in:
parent
b5c2684721
commit
cc54f055f3
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user