Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/router/framework/solid/guide/path-params.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Let's create a post route file that uses a path param to match the post ID:
- `posts.$postId.tsx`

```tsx
import { createFileRoute } from '@tanstack/react-router'
import { createFileRoute } from '@tanstack/solid-router'

export const Route = createFileRoute('/posts/$postId')({
loader: async ({ params }) => {
Expand Down Expand Up @@ -377,7 +377,7 @@ function Navigation() {
{/* Navigate with multiple optional parameters */}
<Link
to="/posts/{-$category}/{-$slug}"
params={{ category: 'tech', slug: 'react-tips' }}
params={{ category: 'tech', slug: 'solid-tips' }}
>
Specific Post
</Link>
Expand Down
Loading