fix : job

deskripsi:
- page: job-vacancy untuk non user sudah bisa di akses kembali
- tidak menggunakan use server lagi melainkan API
This commit is contained in:
2025-05-26 12:07:00 +08:00
parent 857354c9f6
commit 45105a2d42
7 changed files with 72 additions and 26 deletions

View File

@@ -1,13 +1,10 @@
import { Job_UiNotUserView } from "@/app_modules/job/_ui";
import { job_getOneById } from "@/app_modules/job/fun/get/get_one_by_id";
export default async function Page({ params }: { params: { id: string } }) {
const jobId = params.id;
const dataJob = await job_getOneById(jobId);
export default async function Page() {
return (
<>
<Job_UiNotUserView data={dataJob} />
<Job_UiNotUserView />
</>
);
}