Skip to content

Commit

Permalink
Update src/components/Insights/useInsightsData.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
kshmidt-digma committed Sep 3, 2024
1 parent 8bbe42c commit 07929e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Insights/useInsightsData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ export const useInsightsData = ({
) => {
const insightsData = data as WrappedInsightData;

//Do not handle the response message if the view mode has been already changed
if (insightViewType !== insightsData.insightsViewMode) {
return;
}
Expand Down

0 comments on commit 07929e7

Please sign in to comment.