Skip to content

Commit

Permalink
fix(shared): bug in useUpdateTemporalProfileToolData hook
Browse files Browse the repository at this point in the history
updateTrendToolDataDebounced should not be triggered when objectIdOfSelectedScene is changed
  • Loading branch information
vannizhang committed Jul 9, 2024
1 parent 06e2d61 commit 8d76b5c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const useUpdateTemporalProfileToolData = (
tool,
selectedTrendToolOption,
missionsToBeExcluded,
objectIdOfSelectedScene,
// objectIdOfSelectedScene,
]);

// triggered when user selects a new acquisition year that will be used to draw the "month-to-month" trend data
Expand All @@ -115,6 +115,6 @@ export const useUpdateTemporalProfileToolData = (
tool,
selectedTrendToolOption,
missionsToBeExcluded,
objectIdOfSelectedScene,
// objectIdOfSelectedScene,
]);
};

0 comments on commit 8d76b5c

Please # to comment.