Skip to content

Commit cec0056

Browse files
fix(upload): disable drop zone on error flag
1 parent 6bb529a commit cec0056

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/HeroSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function HeroSection({
1818
Safely see your non-followers using your official Instagram data. Your files are processed
1919
right here in your browser and are never uploaded anywhere.
2020
</h2>
21-
<Dropzone onDrop={onDrop} accept={{ "application/json": [".json"] }}>
21+
<Dropzone onDrop={onDrop} disabled={errorFlag} accept={{ "application/json": [".json"] }}>
2222
{({ getRootProps, getInputProps }) => (
2323
<div
2424
{...getRootProps()}

0 commit comments

Comments
 (0)