From 4a52d327ce754c1c488fa541b6559574cda548d8 Mon Sep 17 00:00:00 2001 From: RaktimaNXG Date: Wed, 7 Feb 2024 18:45:52 +0530 Subject: [PATCH] fix: date issue in mobile view --- .../src/Component/WidgetComponent/placeholderType.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/microfrontends/SignDocuments/src/Component/WidgetComponent/placeholderType.js b/microfrontends/SignDocuments/src/Component/WidgetComponent/placeholderType.js index 8cc478cd1..d2388db09 100644 --- a/microfrontends/SignDocuments/src/Component/WidgetComponent/placeholderType.js +++ b/microfrontends/SignDocuments/src/Component/WidgetComponent/placeholderType.js @@ -66,7 +66,8 @@ function PlaceholderType(props) { useEffect(() => { if (props.isNeedSign) { - const updateDate = new Date(props.pos.widgetValue); + // props.pos.widgetValue + const updateDate = new Date(); setStartDate(updateDate); } }, []);