fix: Resolves App not reloading on Scraper setup.

This commit is contained in:
towfiqi
2024-02-22 19:15:08 +06:00
parent 9a7a43f051
commit 56ffbf59d1

View File

@@ -82,6 +82,10 @@ const Settings = ({ closeSettings }:SettingsProps) => {
} else {
// Perform Update
updateMutate(settings);
// If Scraper is updated, refresh the page.
if (appSettings.settings === 'none' && scraper_type !== 'none') {
window.location.reload();
}
}
};