Skip to content

Commit

Permalink
Updated import.
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalnomad91 committed Dec 20, 2024
1 parent 4a0d03e commit ffa6d0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/jobs/page.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { PrismaClient } from '@prisma/client'
import PostsTable from '@/components/PostsTable'
import PostsTable from '@/components/jobs/PostsTable'

const prisma = new PrismaClient()

export default async function Home(props: { searchParams: Promise<{ page?: string }> }) {
const searchParams = await props.searchParams;
const searchParams = await props.searchParams
const postsPerPage = 10
const currentPage = parseInt(searchParams.page || '1', 10)

Expand Down

0 comments on commit ffa6d0c

Please sign in to comment.