diff --git a/tools/settings.ts b/tools/settings.ts deleted file mode 100644 index 482454f2c..000000000 --- a/tools/settings.ts +++ /dev/null @@ -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; - } -}