Skip to content

Commit c6db1f7

Browse files
committedOct 18, 2023
Fix:채팅 중복 및 채팅id중복 수정
1 parent 53946ea commit c6db1f7

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 {

1 commit comments

Comments
 (1)

vercel[bot] commented on Oct 18, 2023

@vercel[bot]
Please sign in to comment.