Skip to content

Commit f5bd3c4

Browse files
committed
remove filter provider from job id
1 parent f8d2aab commit f5bd3c4

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

frontend/src/app/jobs/[id]/page.tsx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// src/app/jobs/[id]/page.tsx
22

33
import { getJobById } from "@/app/jobs/actions";
4-
import { FilterProvider } from "@/context/filter/filter-provider";
54
import { notFound } from "next/navigation";
65
import { Job } from "@/types/job";
76
import JobDetailsWrapper from "@/components/jobs/job-details-wrapper";
@@ -23,12 +22,10 @@ export default async function JobDetailPage({ params }: PageProps) {
2322
}
2423

2524
return (
26-
<FilterProvider>
27-
<div className="h-screen max-w-4xl mx-auto overflow-hidden flex flex-col">
28-
<div className="overflow-y-auto h-[calc(100svh-120px)] lg:h-[calc(100svh-180px)]">
29-
<JobDetailsWrapper job={job} />
30-
</div>
25+
<div className="h-screen max-w-4xl mx-auto overflow-hidden flex flex-col">
26+
<div className="overflow-y-auto h-[calc(100svh-120px)] lg:h-[calc(100svh-180px)]">
27+
<JobDetailsWrapper job={job} />
3128
</div>
32-
</FilterProvider>
29+
</div>
3330
);
3431
}

0 commit comments

Comments
 (0)