Skip to content

Commit b8de688

Browse files
thetaPCShaneK
andcommitted
docs(react): use correct deletePhoto term
Co-authored-by: Shane <[email protected]>
1 parent e289c03 commit b8de688

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/react/your-first-app/7-live-reload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export interface UserPhoto {
8181
}
8282
```
8383

84-
Next, in `Tab2.tsx`, implement the `IonActionSheet` component. We're adding two options: "Delete", which calls `usePhotoGallery.deletePicture()`, and "Cancel". The cancel button will automatically close the action sheet when assigned the "cancel" role.
84+
Next, in `Tab2.tsx`, implement the `IonActionSheet` component. We're adding two options: "Delete", which calls `usePhotoGallery.deletePhoto()`, and "Cancel". The cancel button will automatically close the action sheet when assigned the "cancel" role.
8585

8686
```tsx
8787
// CHANGE: Add import

versioned_docs/version-v7/react/your-first-app/7-live-reload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export interface UserPhoto {
8181
}
8282
```
8383

84-
Next, in `Tab2.tsx`, implement the `IonActionSheet` component. We're adding two options: "Delete", which calls `usePhotoGallery.deletePicture()`, and "Cancel". The cancel button will automatically close the action sheet when assigned the "cancel" role.
84+
Next, in `Tab2.tsx`, implement the `IonActionSheet` component. We're adding two options: "Delete", which calls `usePhotoGallery.deletePhoto()`, and "Cancel". The cancel button will automatically close the action sheet when assigned the "cancel" role.
8585

8686
```tsx
8787
// CHANGE: Add import

0 commit comments

Comments
 (0)