Skip to content

Commit

Permalink
fix(): remove console error
Browse files Browse the repository at this point in the history
  • Loading branch information
horprogs committed Dec 30, 2021
1 parent b0fd2ea commit d487112
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ const getComparedDate = (
}

if (!isValid(comparedDate)) {
console.error(
'isBefore/isAfter fields should be a Date or a valid date string! The result will be always invalid'
);

return null;
}

Expand Down

0 comments on commit d487112

Please sign in to comment.