Skip to content

Commit

Permalink
fix run analysis button
Browse files Browse the repository at this point in the history
  • Loading branch information
walterra committed Mar 26, 2024
1 parent d8daf32 commit d754830
Showing 1 changed file with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,23 +220,11 @@ export const LogRateAnalysisContent: FC<LogRateAnalysisContentProps> = ({
);

const snapTimestamps = getSnappedTimestamps(timeRangeEarliest, timeRangeLatest, interval);

const wpSnap = getSnappedWindowParameters(wp, snapTimestamps);

if (brushSelectionUpdate !== undefined) {
setInitialAnalysisStart(wpSnap);
brushSelectionUpdate(
wpSnap,
true,
changePoint.type === LOG_RATE_ANALYSIS_TYPE.DIP
? LOG_RATE_ANALYSIS_TYPE.DIP
: LOG_RATE_ANALYSIS_TYPE.SPIKE
);
}
setInitialAnalysisStart(wpSnap);
}
}

// eslint-disable-next-line react-hooks/exhaustive-deps
}, [documentCountStats]);

return (
Expand Down

0 comments on commit d754830

Please sign in to comment.