From a6367a0fc8e2e64e6b7fbf9143349316750ae241 Mon Sep 17 00:00:00 2001 From: David Ly Date: Tue, 18 Nov 2025 11:01:31 +0100 Subject: [PATCH] Fixed retakeSight callback not working properly due to missing dependencies --- .../src/PhotoCapture/hooks/usePhotoCaptureSightState.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/inspection-capture-web/src/PhotoCapture/hooks/usePhotoCaptureSightState.ts b/packages/inspection-capture-web/src/PhotoCapture/hooks/usePhotoCaptureSightState.ts index 562bf24a4..6ef751e34 100644 --- a/packages/inspection-capture-web/src/PhotoCapture/hooks/usePhotoCaptureSightState.ts +++ b/packages/inspection-capture-web/src/PhotoCapture/hooks/usePhotoCaptureSightState.ts @@ -350,7 +350,7 @@ export function usePhotoCaptureSightState({ toggleSightTutorial(); } }, - [captureSights], + [captureSights, state.images, toggleSightTutorial], ); const selectSight = (s: Sight) => {