Skip to content

🔥 The free & Open Source DocuSign alternative

fix: date issue in mobile view

RaktimaNXG4a52d327ce75
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);
}
}, []);