SDA-4197 - Use correct variable to clear interval (#2122)

This commit is contained in:
Kiran Niranjan 2024-04-04 13:50:48 +05:30 committed by GitHub
parent c2091f5239
commit 897c6172cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1196,7 +1196,7 @@ export const updateFeaturesForCloudConfig = async (
} else {
// Clear the interval if autoUpdate is disabled
if (autoUpdateIntervalId) {
clearInterval(autoUpdateCheckInterval);
clearInterval(autoUpdateIntervalId);
}
}
};