From 060e0cf7bb8315f3018c0c4da01660972b9b6a4a Mon Sep 17 00:00:00 2001 From: sylvainvdm <61663831+sylvainvdm@users.noreply.github.com> Date: Mon, 27 Nov 2023 16:59:06 +0100 Subject: [PATCH] docs(react): update live reload to fix order (#3265) Set return order of usePhotoGallery the same as expected in Tab2 --- docs/react/your-first-app/7-live-reload.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/react/your-first-app/7-live-reload.md b/docs/react/your-first-app/7-live-reload.md index 2d37c4efdba..023da7a8844 100644 --- a/docs/react/your-first-app/7-live-reload.md +++ b/docs/react/your-first-app/7-live-reload.md @@ -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, }; ```