mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 14:16:39 +01:00
Temporary fix for corrupted data
This commit is contained in:
parent
04ff8eca4c
commit
f7489710a1
1 changed files with 4 additions and 1 deletions
|
@ -67,8 +67,11 @@ function Compose({
|
||||||
console.log(config);
|
console.log(config);
|
||||||
return config;
|
return config;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
alert('Failed to load instance configuration. Please try again.');
|
|
||||||
console.error(e);
|
console.error(e);
|
||||||
|
alert('Failed to load instance configuration. Please try again.');
|
||||||
|
// Temporary fix for corrupted data
|
||||||
|
store.local.del('instances');
|
||||||
|
location.reload();
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
}, []);
|
}, []);
|
||||||
|
|
Loading…
Reference in a new issue