aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/FormField.astro
diff options
context:
space:
mode:
authorNolawz <Nolawz333@protonmail.com>2026-04-04 02:33:12 +0530
committerNolawz <Nolawz333@protonmail.com>2026-04-04 02:33:12 +0530
commit27cfe78592fca5458549f6c6c715c86248c3ab38 (patch)
treef039e5dcd80f3fce997481c4d1cfdfdf663b7e56 /src/components/FormField.astro
parent5878b7cdcdd74b5936ba81d59e28fa154f82724b (diff)
Fixed some build errors and warnings
Diffstat (limited to 'src/components/FormField.astro')
-rw-r--r--src/components/FormField.astro2
1 files changed, 1 insertions, 1 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 (
<div class="flex flex-col gap-4 pl-1">
- {field.options?.map((opt, index) => (
+ {field.options?.map((opt, _) => (
<label class="cursor-pointer">
<input
type={fieldType}