Skip to content

Commit e7b61c0

Browse files
authored
Fix Typos in Documentation and Test Comments (#13810)
1 parent 18b96eb commit e7b61c0

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
@@ -402,3 +402,4 @@
402402
- zeromask1337
403403
- zheng-chuang
404404
- zxTomw
405+
- 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
@@ -126,7 +126,7 @@ describe("cookies", () => {
126126
let oldValue = await cookie.parse(getCookieFromSetCookie(setCookie));
127127
expect(oldValue).toMatchObject(value);
128128

129-
// New Set-Cookie should be different, it uses a differet secret.
129+
// New Set-Cookie should be different, it uses a different secret.
130130
let setCookie2 = await cookie.serialize(value);
131131
expect(setCookie).not.toEqual(setCookie2);
132132
});

0 commit comments

Comments
 (0)