Skip to content

Commit

Permalink
docs(react): update live reload to fix order (#3265)
Browse files Browse the repository at this point in the history
Set return order of usePhotoGallery the same as expected in Tab2
  • Loading branch information
sylvainvdm authored Nov 27, 2023
1 parent 19a2543 commit 060e0cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/react/your-first-app/7-live-reload.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ Make sure to return the `deletePhoto` function so it is as a part of the hook AP

```tsx
return {
deletePhoto,
photos,
takePhoto,
deletePhoto,
};
```

Expand Down

1 comment on commit 060e0cf

@vercel
Copy link

@vercel vercel bot commented on 060e0cf Nov 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ionic-docs – ./

ionic-docs-git-main-ionic1.vercel.app
ionic-docs-ionic1.vercel.app
ionic-docs-gqykycf8t.vercel.app

Please sign in to comment.