@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.
package/dist/app/index.js CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  } from "../chunk-S3F7WBI2.js";
18
18
  import {
19
19
  ReservationCard
20
- } from "../chunk-XY5462PL.js";
20
+ } from "../chunk-WI3U3EDA.js";
21
21
  import {
22
22
  SessionCard
23
23
  } from "../chunk-XM5HV4U7.js";
@@ -1260,7 +1260,7 @@ function ReservationCard(props) {
1260
1260
  [date]
1261
1261
  );
1262
1262
  (0, import_react29.useEffect)(() => {
1263
- if (!minTime || !editValues.date)
1263
+ if (!minTime || !editValues.date || readonly)
1264
1264
  return;
1265
1265
  if (editValues.date < minTime) {
1266
1266
  import_react_toastify2.toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
@@ -1270,9 +1270,9 @@ function ReservationCard(props) {
1270
1270
  });
1271
1271
  });
1272
1272
  }
1273
- }, [editValues, minTime]);
1273
+ }, [editValues, minTime, readonly]);
1274
1274
  (0, import_react29.useEffect)(() => {
1275
- if (!maxTime || !editValues.date)
1275
+ if (!maxTime || !editValues.date || readonly)
1276
1276
  return;
1277
1277
  if (editValues.date > maxTime) {
1278
1278
  import_react_toastify2.toast.warn("\uC120\uD0DD \uAC00\uB2A5\uD55C \uC2DC\uAC04\uB300\uB85C \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.");
@@ -1282,7 +1282,7 @@ function ReservationCard(props) {
1282
1282
  });
1283
1283
  });
1284
1284
  }
1285
- }, [editValues, maxTime]);
1285
+ }, [editValues, maxTime, readonly]);
1286
1286
  return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
1287
1287
  Card,
1288
1288
  {