mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-23 22:14:42 +01:00
Fix infinite reloading
Comment these out because this used to fix an old bug with instances not loaded properly
This commit is contained in:
parent
9bf77fa97a
commit
5a448c8049
1 changed files with 3 additions and 3 deletions
|
@ -107,10 +107,10 @@ export function getCurrentInstance() {
|
||||||
return (currentInstance = instances[instance]);
|
return (currentInstance = instances[instance]);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
alert(`Failed to load instance configuration. Please try again.\n\n${e}`);
|
// alert(`Failed to load instance configuration. Please try again.\n\n${e}`);
|
||||||
// Temporary fix for corrupted data
|
// Temporary fix for corrupted data
|
||||||
store.local.del('instances');
|
// store.local.del('instances');
|
||||||
location.reload();
|
// location.reload();
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue