Skip to content

Commit

Permalink
Update 02-dynamic-routes.mdx
Browse files Browse the repository at this point in the history
update formatting for prettier
  • Loading branch information
cmbritten authored Oct 9, 2023
1 parent e7c052e commit 276b437
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ export default function Page() {
}
```

| Route | Example URL | `params` |
| ---------------------- | ----------- | ---------------------- |
| `pages/blog/[slug].js` | `/blog/a` | `{ slug: 'a' }` |
| `pages/blog/[slug].js` | `/blog/b` | `{ slug: 'b' }` |
| `pages/blog/[slug].js` | `/blog/c` | `{ slug: 'c' }` |
| Route | Example URL | `params` |
| ---------------------- | ----------- | --------------- |
| `pages/blog/[slug].js` | `/blog/a` | `{ slug: 'a' }` |
| `pages/blog/[slug].js` | `/blog/b` | `{ slug: 'b' }` |
| `pages/blog/[slug].js` | `/blog/c` | `{ slug: 'c' }` |

## Catch-all Segments

Expand Down

0 comments on commit 276b437

Please sign in to comment.