Skip to content

Commit 8e67a52

Browse files
Fix typos (#12957)
* Fix typos "setup" is a noun, "set up" is a verb. Similarly, "checkout" is a noun, "check out" is a verb. * Update contributors.yml
1 parent 3b45394 commit 8e67a52

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

contributors.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,3 +345,4 @@
345345
- yuleicul
346346
- zeromask1337
347347
- zheng-chuang
348+
- tobias-edwards

docs/upgrading/component-routes.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -211,11 +211,11 @@ In general:
211211

212212
Note that your `root.tsx` file will be statically generated and served as the entry point of your app, so just that module will need to be compatible with server rendering. This is where most of your trouble will come.
213213

214-
## 6. Setup your routes
214+
## 6. Set up your routes
215215

216216
The React Router Vite plugin uses a `routes.ts` file to configure your routes. For now we'll add a simple catchall route to get things going.
217217

218-
**👉 Setup a `catchall.tsx` route**
218+
**👉 Set up a `catchall.tsx` route**
219219

220220
```shellscript nonumber
221221
touch src/routes.ts src/catchall.tsx
@@ -269,11 +269,11 @@ You will probably want to add `.react-router/` to your `.gitignore` file to avoi
269269
.react-router/
270270
```
271271

272-
You can checkout [Type Safety][type-safety] to learn how to fully setup and use autogenerated type safety for params, loader data, and more.
272+
You can check out [Type Safety][type-safety] to learn how to fully set up and use autogenerated type safety for params, loader data, and more.
273273

274274
## 8. Render your app
275275

276-
To get back to rendering your app, we'll update the "catchall" route we setup earlier that matches all URLs so that your existing `<Routes>` get a chance to render.
276+
To get back to rendering your app, we'll update the "catchall" route we set up earlier that matches all URLs so that your existing `<Routes>` get a chance to render.
277277

278278
**👉 Update the catchall route to render your app**
279279

@@ -337,7 +337,7 @@ export default function Component({ loaderData }) {
337337
}
338338
```
339339

340-
See [Type Safety][type-safety] to setup autogenerated type safety for params, loader data, and more.
340+
See [Type Safety][type-safety] to set up autogenerated type safety for params, loader data, and more.
341341

342342
The first few routes you migrate are the hardest because you often have to access various abstractions a bit differently than before (like in a loader instead of from a hook or context). But once the trickiest bits get dealt with, you get into an incremental groove.
343343

0 commit comments

Comments
 (0)