diff options
| author | Nolawz <Nolawz333@protonmail.com> | 2026-04-04 02:33:12 +0530 |
|---|---|---|
| committer | Nolawz <Nolawz333@protonmail.com> | 2026-04-04 02:33:12 +0530 |
| commit | 27cfe78592fca5458549f6c6c715c86248c3ab38 (patch) | |
| tree | f039e5dcd80f3fce997481c4d1cfdfdf663b7e56 /src/components/FormField.astro | |
| parent | 5878b7cdcdd74b5936ba81d59e28fa154f82724b (diff) | |
Fixed some build errors and warnings
Diffstat (limited to 'src/components/FormField.astro')
| -rw-r--r-- | src/components/FormField.astro | 2 |
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} |
