Temporary fix for corrupted data

This commit is contained in:
Lim Chee Aun 2022-12-27 08:52:01 +08:00
parent 04ff8eca4c
commit f7489710a1

View file

@ -67,8 +67,11 @@ function Compose({
console.log(config);
return config;
} catch (e) {
alert('Failed to load instance configuration. Please try again.');
console.error(e);
alert('Failed to load instance configuration. Please try again.');
// Temporary fix for corrupted data
store.local.del('instances');
location.reload();
return {};
}
}, []);