diff --git a/src/components/settings/SettingsCard.astro b/src/components/settings/SettingsCard.astro index f918c57..a73dee5 100644 --- a/src/components/settings/SettingsCard.astro +++ b/src/components/settings/SettingsCard.astro @@ -11,7 +11,7 @@ interface SelectOptions { } interface Selects { select: boolean; - name: string; + name?: string; multiple?: boolean; options?: SelectOptions[]; } @@ -40,7 +40,7 @@ const { title, description, input, select, button } = Astro.props; } {select.select && - {select.options!.map((option) => ( ))}