Skip to content

Commit bb3c758

Browse files
docs(tutorials/address-book): fix filename (#12537)
* docs: fix filename * Update contributors.yml
1 parent 821ae3f commit bb3c758

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

contributors.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
- abdallah-nour
44
- abeadam
55
- abhi-kr-2100
6+
- abhijeetpandit7
67
- AchThomas
78
- acusti
89
- adamdotjs

docs/tutorials/address-book.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ You'll notice that the type of `loaderData.contact` is `ContactRecord | null`. B
900900

901901
We could account for the possibility of the contact being not found in component code, but the webby thing to do is send a proper 404. We can do that in the loader and solve all of our problems at once.
902902

903-
```tsx filename=app/routes/contacts.$contactId.tsx lines=[5-7]
903+
```tsx filename=app/routes/contact.tsx lines=[5-7]
904904
// existing imports
905905

906906
export async function loader({ params }: Route.LoaderArgs) {
@@ -1542,7 +1542,7 @@ You could certainly do this as a controlled component. You will have more synchr
15421542

15431543
<summary>Expand this to see what it would look like</summary>
15441544

1545-
```tsx filename=app/root.tsx lines=[2,11-12,14-18,30-33,36-37]
1545+
```tsx filename=app/layouts/sidebar.tsx lines=[2,11-12,14-18,30-33,36-37]
15461546
// existing imports
15471547
import { useEffect, useState } from "react";
15481548

0 commit comments

Comments
 (0)