From b2d795d39d4e5a6d936b10ef3f6bb46bd9ead798 Mon Sep 17 00:00:00 2001 From: alaa-yahia Date: Thu, 1 Aug 2024 15:32:06 +0300 Subject: [PATCH] fix: remove unnecessary console warn --- src/utils/validate-date-string.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utils/validate-date-string.ts b/src/utils/validate-date-string.ts index 56f71e3..d696a30 100644 --- a/src/utils/validate-date-string.ts +++ b/src/utils/validate-date-string.ts @@ -131,7 +131,6 @@ export function validateDateString( warningMessage, } } catch (e) { - console.warn(e) return { isValid: false, errorMessage: (e as Error).message,