We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a0d03e commit ffa6d0cCopy full SHA for ffa6d0c
src/app/jobs/page.tsx
@@ -1,10 +1,10 @@
1
import { PrismaClient } from '@prisma/client'
2
-import PostsTable from '@/components/PostsTable'
+import PostsTable from '@/components/jobs/PostsTable'
3
4
const prisma = new PrismaClient()
5
6
export default async function Home(props: { searchParams: Promise<{ page?: string }> }) {
7
- const searchParams = await props.searchParams;
+ const searchParams = await props.searchParams
8
const postsPerPage = 10
9
const currentPage = parseInt(searchParams.page || '1', 10)
10
0 commit comments