From 411813aa4c22a8600bfc4e639de9c665bde80bde Mon Sep 17 00:00:00 2001 From: MotorTruck1221 Date: Sat, 14 Jun 2025 22:32:10 -0600 Subject: [PATCH 1/2] Add the reactive parts --- src/components/ui/Dropdown.astro | 5 +++-- src/pages/settings/index.astro | 27 +++++++++++++++++++++++++-- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/src/components/ui/Dropdown.astro b/src/components/ui/Dropdown.astro index b0a59e7..751d95e 100644 --- a/src/components/ui/Dropdown.astro +++ b/src/components/ui/Dropdown.astro @@ -2,12 +2,13 @@ import type { DropdownOptions } from "@utils/types"; interface Props { id: string; + classes?: string; options: DropdownOptions[]; } -const { id, options } = Astro.props; +const { id, options, classes } = Astro.props; --- - {options.map((el) => )} diff --git a/src/pages/settings/index.astro b/src/pages/settings/index.astro index b487ee6..0f4100a 100644 --- a/src/pages/settings/index.astro +++ b/src/pages/settings/index.astro @@ -37,6 +37,15 @@ Object.keys(SearchEngines).forEach((k) =>

Wisp Server

+