1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-11 18:20:27 +09:00

JS-5934: fix

This commit is contained in:
Andrew Simachev 2024-12-05 16:29:55 +01:00
parent da3ab6a934
commit 6bfeb57e61
No known key found for this signature in database
GPG key ID: 1DFE44B21443F0EF

View file

@ -121,10 +121,13 @@ const ChatMessage = observer(class ChatMessage extends React.Component<I.ChatMes
>
<div className="flex">
<div className="side left">
<IconObject object={author} size={40} onClick={e => U.Object.openConfig(author)} />
<IconObject
object={{ ...author, layout: I.ObjectLayout.Participant }}
size={40}
onClick={e => U.Object.openConfig(author)}
/>
</div>
<div className="side right">
<div className="author" onClick={e => U.Object.openConfig(author)}>
<ObjectName object={author} />
<div className="time">{U.Date.date('H:i', createdAt)}</div>