mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-17 21:25:54 +02:00
fix: date issue in mobile view
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}, []);
|
||||
|
||||
Reference in New Issue
Block a user