Loading chat otomatis

This commit is contained in:
2024-05-10 16:38:09 +08:00
parent dc41a5f9af
commit c57e495d68
4 changed files with 60 additions and 55 deletions

View File

@@ -6,7 +6,7 @@ import _ from "lodash";
export default async function Page({ params }: { params: { id: string } }) {
let roomId = params.id;
const userLoginId = await user_getOneUserId();
let listMsg = await colab_getMessageByRoomId(roomId, 1);
let listMsg = await colab_getMessageByRoomId({ page: 1, roomId: roomId });
return (
<>