Skip to content

Commit 14a7463

Browse files
committed
Merge: dev의 수정사항 머지
2 parents c4f242f + c6db1f7 commit 14a7463

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hooks/queries/useGetChatHistory.ts

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export default function useGetChatHistory(roomId: string) {
1313
},
1414
select: (chatHistory) => {
1515
const reversedChatContent = chatHistory.pages
16+
.slice()
1617
.reverse()
1718
.flatMap((chat) => chat.content);
1819
return {

0 commit comments

Comments
 (0)