Skip to content

Commit

Permalink
Update routing-params.md (#8548)
Browse files Browse the repository at this point in the history
remove redundant word
  • Loading branch information
AndrewLamYW authored and jtoar committed Jun 8, 2023
1 parent 5806e19 commit 2757f05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/tutorial/chapter2/routing-params.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Cool, cool, cool. Now we need to construct a link that has the ID of a post in i

When you have your dev server running, the Redwood CLI will watch your project and generate types. You can regenerate these types manually too, by running `yarn rw g types`.

In this case, the path `/article/{id}` doesn't specify the type of `id` - so it defaults to `string` - where as our article id is actually a `number`. We'll tackle this in in the next few sections - so you can ignore the red squiggle for now, and power through!
In this case, the path `/article/{id}` doesn't specify the type of `id` - so it defaults to `string` - where as our article id is actually a `number`. We'll tackle this in the next few sections - so you can ignore the red squiggle for now, and power through!
:::

</ShowForTs>
Expand Down

0 comments on commit 2757f05

Please sign in to comment.