Skip to content

Commit

Permalink
chore: fixed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
victorgarciaesgi committed Feb 11, 2025
1 parent 7227c09 commit b56b096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/utils/isEmpty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function isEmpty(
// invalid date won't pass
return isNaN(value.getTime());
} else if (value instanceof File) {
// invalid date won't pass
// empty files won't pass
return value.size > 0;
} else if (Array.isArray(value)) {
if (considerEmptyArrayInvalid) {
Expand Down

0 comments on commit b56b096

Please # to comment.