diff --git a/src/alu.d.ts b/src/alu.d.ts index 04218cd..27159d9 100644 --- a/src/alu.d.ts +++ b/src/alu.d.ts @@ -5,7 +5,7 @@ export declare global { type DefaultKeys = { [key: string]: AluKey; }; - type Key = Record; + type Key = Record; type ValidStoreKeys = "proxy" | "search" | "openpage" | "wisp" | "bareUrl" | "transport" | "searxng" | "theme" | "lang" | "cloak"; } } diff --git a/src/components/SettingsContent/CustomizationTab.astro b/src/components/SettingsContent/CustomizationTab.astro index c89e9a6..2d32633 100644 --- a/src/components/SettingsContent/CustomizationTab.astro +++ b/src/components/SettingsContent/CustomizationTab.astro @@ -24,10 +24,10 @@ const languageList = [
- +
- +
diff --git a/src/components/SettingsContent/ProxyTab.astro b/src/components/SettingsContent/ProxyTab.astro index 50779da..b24c5bf 100644 --- a/src/components/SettingsContent/ProxyTab.astro +++ b/src/components/SettingsContent/ProxyTab.astro @@ -39,19 +39,19 @@ const wispURLList = [
- +
- +
- +
- +
@@ -59,7 +59,7 @@ const wispURLList = [
- +
diff --git a/src/components/UI/Dropdown.astro b/src/components/UI/Dropdown.astro index ce502c1..2d85c52 100644 --- a/src/components/UI/Dropdown.astro +++ b/src/components/UI/Dropdown.astro @@ -1,5 +1,12 @@ --- const { buttonNameDefault, dropdownList, id, localStorageKey } = Astro.props; + +interface Props { + buttonNameDefault: string; + dropdownList: { name: string; value: string }[]; + id: string; + localStorageKey: Alu.ValidStoreKeys; +} ---