Skip to content

Commit

Permalink
feat: 쪽지 api 변경점 반영 (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinoov authored Aug 6, 2024
1 parent 40f4f91 commit dd05c50
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ export default function MessageAllListContent() {
</Space>
<List
itemLayout="horizontal"
dataSource={conversations.toReversed()}
dataSource={conversations}
renderItem={(item) => (
<List.Item>
<Link to={`/${MENU.MESSAGE}/${item.id}`} className={styles.listItemLink}>
<Space direction="vertical" className={styles.fullWidth}>
<Space className={styles.metaInfo}>
<Typography.Text className={styles.messageType}>{item.otherLoginID === me.loginID ? item.starterLoginID : item.otherLoginID}</Typography.Text>
<Typography.Text className={styles.messageType}>{item.otherName === me.name ? item.starterName : item.otherName}</Typography.Text>
<Typography.Text>{dayjs(item.lastMessage?.sentAt).format('YYYY-MM-DD HH:mm:ss')}</Typography.Text>
</Space>
<Typography.Text>{item.lastMessage?.content}</Typography.Text>
Expand Down

0 comments on commit dd05c50

Please sign in to comment.