Skip to content

Commit 060e0cf

Browse files
authored
docs(react): update live reload to fix order (#3265)
Set return order of usePhotoGallery the same as expected in Tab2
1 parent 19a2543 commit 060e0cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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
@@ -109,9 +109,9 @@ Make sure to return the `deletePhoto` function so it is as a part of the hook AP
109109

110110
```tsx
111111
return {
112-
deletePhoto,
113112
photos,
114113
takePhoto,
114+
deletePhoto,
115115
};
116116
```
117117

0 commit comments

Comments
 (0)