Skip to content

Commit

Permalink
fix:minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
Paribesh01 committed Nov 2, 2024
1 parent dd41924 commit a5531e4
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/app/jobs/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,27 +22,6 @@ const page = async ({ params }: { params: JobByIdSchemaType }) => {
staleTime: 1000 * 60 * 5,
});

// const job = await getJobById(params);
// if (!job.status) {
// return;
// }

// const jobDetail = job.additional?.job;
// if (!jobDetail) {
// return redirect('/jobs');
// }

// const curatedJobs = await getRecommendedJobs({
// id: jobDetail.id,
// category: jobDetail.category,
// });

// if (!curatedJobs.status) {
// return;
// }

// const recommendedJobs = curatedJobs.additional?.jobs;

return (
<HydrationBoundary state={dehydrate(queryClient)}>
<div className="container max-w-8xl h-fit mx-auto my-8">
Expand Down

0 comments on commit a5531e4

Please sign in to comment.