@ -5,7 +5,12 @@ export const load = async(): Promise<SettingData> => {
if (!settings) {
return DefaultSettingData;
}
return SettingData.valueOf(settings as any);
try {
} catch (e) {
console.error('unable to load settings', e);
};
export const save = (data: SettingData) => {