fix voting admin:
deskripsi: - fix voting table review
This commit is contained in:
@@ -1,13 +1,9 @@
|
||||
import { AdminVote_TablePublish } from "@/app_modules/admin/vote";
|
||||
import { AdminVote_getListTableByStatusId } from "@/app_modules/admin/vote/fun/get/get_list_table_by_status_id";
|
||||
import { adminVote_funGetListPublish } from "@/app_modules/admin/vote/fun/get/status/get_list_publish";
|
||||
|
||||
export default async function Page() {
|
||||
const dataVote = await adminVote_funGetListPublish({page: 1});
|
||||
|
||||
return (
|
||||
<>
|
||||
<AdminVote_TablePublish dataVote={dataVote} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
return (
|
||||
<>
|
||||
<AdminVote_TablePublish />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,12 +1,9 @@
|
||||
import { AdminVote_TableReview } from "@/app_modules/admin/vote";
|
||||
import { adminVote_funGetListReview } from "@/app_modules/admin/vote/fun";
|
||||
|
||||
export default async function Page() {
|
||||
const listVote = await adminVote_funGetListReview({ page: 1 });
|
||||
|
||||
return (
|
||||
<>
|
||||
<AdminVote_TableReview listVote={listVote as any} />
|
||||
<AdminVote_TableReview />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user