wip
This commit is contained in:
parent
b5c2684721
commit
cc54f055f3
|
@ -11,7 +11,7 @@ type Props = {
|
||||||
|
|
||||||
const DialogCard = (props: Props) => {
|
const DialogCard = (props: Props) => {
|
||||||
return (
|
return (
|
||||||
<div class={styles.DialogCard}>
|
<div class={styles.DialogCard} onClick={handleGoToChat}>
|
||||||
<div class={styles.avatar}>
|
<div class={styles.avatar}>
|
||||||
<DialogAvatar name={props.name} url={props.userpic} online={props.online} />
|
<DialogAvatar name={props.name} url={props.userpic} online={props.online} />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -132,7 +132,9 @@ export const InboxView = () => {
|
||||||
<div class="holder">
|
<div class="holder">
|
||||||
<div class="dialogs">
|
<div class="dialogs">
|
||||||
<For each={authors()}>
|
<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>
|
</For>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user