Skip to content

Commit 8252e60

Browse files
committed
docs(react): update UserPhoto text
1 parent 4d26d98 commit 8252e60

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

docs/react/your-first-app/2-taking-photos.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,7 @@ After taking a photo, it disappears right away. We need to display it within our
9393

9494
## Displaying Photos
9595

96-
Return to `usePhotoGallery.ts`.
97-
98-
Outside of the `usePhotoGallery()` method definition (the very bottom of the file), create a new interface, `UserPhoto`, to hold our photo metadata.
96+
To define the data structure for our photo metadata, create a new interface named `UserPhoto`. Add this interface at the very bottom of the `usePhotoGallery.ts` file, immediately after the `usePhotoGallery()` method definition.
9997

10098
```ts
10199
export function usePhotoGallery {

versioned_docs/version-v7/react/your-first-app/2-taking-photos.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,7 @@ After taking a photo, it disappears right away. We need to display it within our
9393

9494
## Displaying Photos
9595

96-
Return to `usePhotoGallery.ts`.
97-
98-
Outside of the `usePhotoGallery()` method definition (the very bottom of the file), create a new interface, `UserPhoto`, to hold our photo metadata.
96+
To define the data structure for our photo metadata, create a new interface named `UserPhoto`. Add this interface at the very bottom of the `usePhotoGallery.ts` file, immediately after the `usePhotoGallery()` method definition.
9997

10098
```ts
10199
export function usePhotoGallery {

0 commit comments

Comments
 (0)