Skip to content

Commit

Permalink
fix: give default undefined to maxFileSizeInMB
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-tucker committed Oct 23, 2023
1 parent 41b812b commit 7c8b151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/DropZone/DropZone.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
export let isDirectory: boolean = false;
export let multiple: boolean = false;
export let bindValue: File[] | undefined;
export let maxFileSizeInMB: number | undefined;
export let maxFileSizeInMB: number | undefined = undefined;
const acceptString = accept.join(', ');
Expand Down

0 comments on commit 7c8b151

Please sign in to comment.