Skip to content

Commit

Permalink
minSize = 10KB
Browse files Browse the repository at this point in the history
  • Loading branch information
bnsx committed Jun 9, 2024
1 parent fa7a6ac commit 3dd4095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Dropzone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { UploadIcon } from "@radix-ui/react-icons";
import { Dispatch, SetStateAction, useCallback } from "react";
import { DropEvent, FileRejection, useDropzone } from "react-dropzone";

const minSize = 100 * 1024; // 100kb
const minSize = 10 * 1024; // 10KB
const mimetypes = {
"image/jpeg": [".jpeg", ".jpg"],
"image/png": [".png"],
Expand Down

0 comments on commit 3dd4095

Please sign in to comment.