@tipp/ui 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2080,7 +2080,7 @@ function ReservationCard(props) {
2080
2080
  [date]
2081
2081
  );
2082
2082
  (0, import_react34.useEffect)(() => {
2083
- if (!minTime || !editValues.date)
2083
+ if (!minTime || !editValues.date || readonly)
2084
2084
  return;
2085
2085
  if (editValues.date < minTime) {
2086
2086
  import_react_toastify2.toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
@@ -2090,9 +2090,9 @@ function ReservationCard(props) {
2090
2090
  });
2091
2091
  });
2092
2092
  }
2093
- }, [editValues, minTime]);
2093
+ }, [editValues, minTime, readonly]);
2094
2094
  (0, import_react34.useEffect)(() => {
2095
- if (!maxTime || !editValues.date)
2095
+ if (!maxTime || !editValues.date || readonly)
2096
2096
  return;
2097
2097
  if (editValues.date > maxTime) {
2098
2098
  import_react_toastify2.toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
@@ -2102,7 +2102,7 @@ function ReservationCard(props) {
2102
2102
  });
2103
2103
  });
2104
2104
  }
2105
- }, [editValues, maxTime]);
2105
+ }, [editValues, maxTime, readonly]);
2106
2106
  return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
2107
2107
  Card,
2108
2108
  {