fix responsive admin forum
This commit is contained in:
@@ -6,20 +6,20 @@ import { adminForum_getOnePostingById } from "@/app_modules/admin/forum/fun/get/
|
||||
export default async function Page({ params }: { params: { id: string } }) {
|
||||
let postingId = params.id;
|
||||
|
||||
const listKomentar = await adminForum_getListKomentarById({
|
||||
postingId: postingId,
|
||||
page: 1,
|
||||
});
|
||||
// const listKomentar = await adminForum_getListKomentarById({
|
||||
// postingId: postingId,
|
||||
// page: 1,
|
||||
// });
|
||||
const dataPosting = await adminForum_getOnePostingById(postingId);
|
||||
const countKomentar = await adminForum_countKomentarByPostingId({postingId: postingId})
|
||||
|
||||
// const countKomentar = await adminForum_countKomentarByPostingId({
|
||||
// postingId: postingId,
|
||||
// });
|
||||
|
||||
return (
|
||||
<>
|
||||
<AdminForum_LihatSemuaKomentar
|
||||
listKomentar={listKomentar as any}
|
||||
|
||||
dataPosting={dataPosting as any}
|
||||
countKomentar={countKomentar}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user