Skip to content

Commit 0c404b2

Browse files
committed
Add clearStatusCheckInterval call before starting status check interval in ProcessingPage
1 parent 35a63e6 commit 0c404b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

frontend/src/pages/Processing/ProcessingPage.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ const ProcessingPage: React.FC = () => {
118118
history.push(`/tabs/reports/${reportId}`);
119119
}
120120

121+
clearStatusCheckInterval();
122+
121123
// Start checking the status every 2 seconds
122124
statusCheckIntervalRef.current = window.setInterval(checkReportStatus, 2000);
123125
} catch (error) {

0 commit comments

Comments
 (0)