Skip to content

Commit ea823a9

Browse files
committed
docs(react): add file path
1 parent fb65b85 commit ea823a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/react/your-first-app/3-saving-photos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ We’re now able to take multiple photos and display them in a photo gallery on
1717

1818
## Filesystem API
1919

20-
Fortunately, saving them to the filesystem only takes a few steps. Begin by creating a new class method, `savePicture()`, in the `usePhotoGallery()` method.
20+
Fortunately, saving them to the filesystem only takes a few steps. Begin by creating a new class method, `savePicture()`, in the `usePhotoGallery()` method in `usePhotoGallery.ts`.
2121

2222
```ts
2323
import { useState, useEffect } from 'react';

versioned_docs/version-v7/react/your-first-app/3-saving-photos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ We’re now able to take multiple photos and display them in a photo gallery on
1717

1818
## Filesystem API
1919

20-
Fortunately, saving them to the filesystem only takes a few steps. Begin by creating a new class method, `savePicture()`, in the `usePhotoGallery()` method.
20+
Fortunately, saving them to the filesystem only takes a few steps. Begin by creating a new class method, `savePicture()`, in the `usePhotoGallery()` method in `usePhotoGallery.ts`.
2121

2222
```ts
2323
import { useState, useEffect } from 'react';

0 commit comments

Comments
 (0)