Skip to content

Commit 6a1439a

Browse files
authored
fix(hitlnext) sorting on the history component (#1811)
1 parent 205b452 commit 6a1439a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/hitlnext/src/views/full/app/components/MessageList.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ interface Props {
1414
const MessageList: FC<Props> = props => {
1515
return (
1616
<div className={cx(style.messageList)}>
17-
{sortby(props.events, 'id').map(ev => (
17+
{sortby(props.events, ['createdOn', 'id']).map(ev => (
1818
<Message key={ev.id} {...ev} />
1919
))}
2020
</div>

0 commit comments

Comments
 (0)