Skip to content

Commit 41df588

Browse files
zeevick10vezaynk
authored andcommitted
Fix Typos in Documentation and Test Comments (remix-run#13810)
1 parent cf77393 commit 41df588

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

contributors.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,3 +407,4 @@
407407
- zeromask1337
408408
- zheng-chuang
409409
- zxTomw
410+
- zeevick10

docs/start/framework/route-module.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ When the component is rendered, it is provided the props defined in `Route.Compo
5353
3. `params`: An object containing the route parameters (if any).
5454
4. `matches`: An array of all the matches in the current route tree.
5555

56-
You can use these props in place of hooks like `useLoaderData` or `useParams`. This may be preferrable because they will be automatically typed correctly for the route.
56+
You can use these props in place of hooks like `useLoaderData` or `useParams`. This may be preferable because they will be automatically typed correctly for the route.
5757

5858
### Using props
5959

packages/react-router/__tests__/server-runtime/cookies-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ describe("cookies", () => {
140140
let oldValue = await cookie.parse(getCookieFromSetCookie(setCookie));
141141
expect(oldValue).toMatchObject(value);
142142

143-
// New Set-Cookie should be different, it uses a differet secret.
143+
// New Set-Cookie should be different, it uses a different secret.
144144
let setCookie2 = await cookie.serialize(value);
145145
expect(setCookie).not.toEqual(setCookie2);
146146
});

0 commit comments

Comments
 (0)