Delete settings file

This commit is contained in:
Aj - Thomas
2022-05-02 15:08:21 +02:00
parent 87c0532188
commit 0f712b2749

View File

@@ -1,14 +0,0 @@
import { Settings } from './types';
export function loadSettings(path: string): Settings | null {
const item = localStorage.getItem(path);
if (!item) {
return null;
}
try {
return JSON.parse(item) as Settings;
} catch (e) {
return null;
}
}