This commit is contained in:
MeowcaTheoRange 2024-05-09 14:49:49 -05:00
parent 0e8a45e276
commit db91e054f3

View file

@ -83,12 +83,12 @@ export function ChatLayout<PropFormat>({
<div className={styles.Main_List}> <div className={styles.Main_List}>
{props?.users.map((user) => (<Link {props?.users.map((user) => (<Link
href={`/jams/user/${user?.id}`} href={`/jams/user/${user?.id}`}
className={props.whoami?.id === user.id ? styles.Main_List_CurrentLink : ""} className={props.whoami?.id === user?.id ? styles.Main_List_CurrentLink : ""}
title={`${user.username}@${user.instance}`} title={`${user?.username}@${user?.instance}`}
> >
<div className={`fw ${styles.Main_List_Button}`}> <div className={`fw ${styles.Main_List_Button}`}>
<span className="icon">person</span> <span className="icon">person</span>
<span>{user.username}@{user.instance}</span> <span>{user?.username}@{user?.instance}</span>
</div> </div>
</Link>))} </Link>))}
</div> </div>