From 27cfe78592fca5458549f6c6c715c86248c3ab38 Mon Sep 17 00:00:00 2001 From: Nolawz Date: Sat, 4 Apr 2026 02:33:12 +0530 Subject: Fixed some build errors and warnings --- src/components/FormField.astro | 2 +- src/components/react/ErrorBoundary.tsx | 2 +- src/components/react/SearchDialog.tsx | 5 +---- src/pages/contribute.astro | 5 ++--- src/pages/forms/[...id].astro | 1 - src/pages/members/[...id].astro | 2 +- 6 files changed, 6 insertions(+), 11 deletions(-) diff --git a/src/components/FormField.astro b/src/components/FormField.astro index 9b9d95c..dcec8ed 100644 --- a/src/components/FormField.astro +++ b/src/components/FormField.astro @@ -54,7 +54,7 @@ const fieldType = field.type as astroHTML.JSX.HTMLInputTypeAttribute case 'checkbox': return (
- {field.options?.map((opt, index) => ( + {field.options?.map((opt, _) => (