Skip to content

Commit 0ec1afa

Browse files
committed
chore: Resolve
1 parent f73e46f commit 0ec1afa

File tree

1 file changed

+17
-13
lines changed
  • packages/docs/src/app/playground/(demos)/pagination

1 file changed

+17
-13
lines changed

packages/docs/src/app/playground/(demos)/pagination/page.tsx

+17-13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { Description } from '@/src/components/typography'
22
import { Separator } from '@/src/components/ui/separator'
3+
import path from 'node:path'
34
import type { SearchParams } from 'nuqs/server'
45
import { Suspense } from 'react'
56
import { SourceOnGitHub } from '../_components/source-on-github'
@@ -34,25 +35,28 @@ export default async function PaginationDemoPage({ searchParams }: PageProps) {
3435
<ProductSection />
3536
</Suspense>
3637
<SourceOnGitHub
37-
path={
38-
process.cwd() +
39-
'/src/app/playground/(demos)/pagination/searchParams.ts'
40-
}
38+
path={path.resolve(
39+
process.cwd(),
40+
'src/app/playground/(demos)/pagination/searchParams.ts'
41+
)}
4142
/>
4243
<SourceOnGitHub
43-
path={process.cwd() + '/src/app/playground/(demos)/pagination/page.tsx'}
44+
path={path.resolve(
45+
process.cwd(),
46+
'src/app/playground/(demos)/pagination/page.tsx'
47+
)}
4448
/>
4549
<SourceOnGitHub
46-
path={
47-
process.cwd() +
48-
'/src/app/playground/(demos)/pagination/pagination-controls.server.tsx'
49-
}
50+
path={path.resolve(
51+
process.cwd(),
52+
'src/app/playground/(demos)/pagination/pagination-controls.server.tsx'
53+
)}
5054
/>
5155
<SourceOnGitHub
52-
path={
53-
process.cwd() +
54-
'/src/app/playground/(demos)/pagination/pagination-controls.client.tsx'
55-
}
56+
path={path.resolve(
57+
process.cwd(),
58+
'src/app/playground/(demos)/pagination/pagination-controls.client.tsx'
59+
)}
5660
/>
5761
</>
5862
)

0 commit comments

Comments
 (0)