diff --git a/src/components/UseProductPop/index.jsx b/src/components/UseProductPop/index.jsx index f58c1387..cb709089 100644 --- a/src/components/UseProductPop/index.jsx +++ b/src/components/UseProductPop/index.jsx @@ -445,7 +445,8 @@ const UseProductPop = forwardRef((props, ref) => { }; const onDisabledTime = (date) => { - const min = new Date(); + let step1 = JSON.parse(sessionStorage.getItem("datetime")); + const min = new Date(step1[0]); const hour = min.getHours(); const minute = min.getMinutes(); const second = min.getSeconds();