mirror of
https://github.com/towfiqi/serpbear
synced 2025-06-26 18:15:54 +00:00
fix: Resolves App not reloading on Scraper setup.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user