Skip to content

Commit 8447f4b

Browse files
committed
remove htmlFor for fixing double open file-dialog sometimes ???
1 parent 08770a2 commit 8447f4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/CSVReader.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ export default function CSVReader({ onChange }: csvReader) {
8585
{...getRootProps()}
8686
className="border-aaDark border-dashed border-2 cursor-pointer rounded-xl text-center p-10 lg:min-w-[400px]"
8787
>
88-
<input {...getInputProps()} multiple={false} id="data-upload" />
88+
<input {...getInputProps()} multiple={false} />
8989

90-
<FormLabel htmlFor="data-upload">
90+
<FormLabel>
9191
Drag 'n' drop a CSV file here, or click to select one
9292
</FormLabel>
9393
</FormItem>

0 commit comments

Comments
 (0)