@saas-ui/forms 2.6.6 → 2.6.8

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/index.mjs CHANGED
@@ -1154,8 +1154,7 @@ var DisplayIf = ({
1154
1154
  initializedRef.current = true;
1155
1155
  return;
1156
1156
  }
1157
- if (matchesRef.current === matches)
1158
- return;
1157
+ if (matchesRef.current === matches) return;
1159
1158
  matchesRef.current = matches;
1160
1159
  onToggle == null ? void 0 : onToggle(matches, context);
1161
1160
  }, [value]);
@@ -1374,8 +1373,7 @@ var objectFieldResolver = (schema) => {
1374
1373
  const getNestedFields = (name) => {
1375
1374
  var _a;
1376
1375
  const field = get2(schema, name);
1377
- if (!field)
1378
- return [];
1376
+ if (!field) return [];
1379
1377
  if (((_a = field.items) == null ? void 0 : _a.type) === "object") {
1380
1378
  return mapFields(field.items.properties);
1381
1379
  } else if (field.type === "object") {