From 554c3a695dcadce7bc667289e35e733ee7f8cc14 Mon Sep 17 00:00:00 2001 From: wearrrrr Date: Tue, 30 Jul 2024 04:10:52 -0500 Subject: [PATCH] epic fail (namespace doesn't load fast enough) --- src/alu.d.ts | 7 ------- src/pages/[lang]/settings.astro | 15 +++++++-------- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/src/alu.d.ts b/src/alu.d.ts index 5e017aa..27159d9 100644 --- a/src/alu.d.ts +++ b/src/alu.d.ts @@ -1,13 +1,6 @@ export declare global { namespace Alu { let store: AluStore; - // Settings Content Store (orig. window.loadedContentStorage) - let settings: { - contentStore: { - [key: string]: string; - } - currentPage: string; - } type DefaultKeys = { [key: string]: AluKey; diff --git a/src/pages/[lang]/settings.astro b/src/pages/[lang]/settings.astro index d393f16..463e9b0 100644 --- a/src/pages/[lang]/settings.astro +++ b/src/pages/[lang]/settings.astro @@ -56,16 +56,16 @@ export function getStaticPaths() {