Skip to content

Commit

Permalink
fix: minimumFileSizeForCompress for 0 value
Browse files Browse the repository at this point in the history
  • Loading branch information
numandev1 committed Jan 28, 2022
1 parent a93a404 commit 520cc98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Video/index.tsx
Expand Up @@ -152,7 +152,7 @@ const Video: VideoCompressorType = {
} else {
modifiedOptions.maxSize = 640;
}
if (options?.minimumFileSizeForCompress) {
if (options?.minimumFileSizeForCompress !== undefined) {
modifiedOptions.minimumFileSizeForCompress =
options?.minimumFileSizeForCompress;
}
Expand Down

0 comments on commit 520cc98

Please sign in to comment.