@bigbinary/neeto-form-frontend 1.0.51 → 1.0.52

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.cjs.js CHANGED
@@ -28105,10 +28105,10 @@ var Terms$3 = function Terms(_ref) {
28105
28105
  var editorRef = (cov_12g0frjp3f().s[1]++, React$2.useRef(null));
28106
28106
  cov_12g0frjp3f().s[2]++;
28107
28107
  var validateContent = function validateContent() {
28108
- var _editorRef$current$ed;
28108
+ var _editorRef$current, _editorRef$current$ed;
28109
28109
  cov_12g0frjp3f().f[1]++;
28110
28110
  cov_12g0frjp3f().s[3]++;
28111
- if ((_editorRef$current$ed = editorRef.current.editor) !== null && _editorRef$current$ed !== void 0 && _editorRef$current$ed.isEmpty) {
28111
+ if ((_editorRef$current = editorRef.current) !== null && _editorRef$current !== void 0 && (_editorRef$current$ed = _editorRef$current.editor) !== null && _editorRef$current$ed !== void 0 && _editorRef$current$ed.isEmpty) {
28112
28112
  cov_12g0frjp3f().b[0][0]++;
28113
28113
  cov_12g0frjp3f().s[4]++;
28114
28114
  return "This field is required";
@@ -28495,10 +28495,10 @@ var Editor = function Editor(_ref) {
28495
28495
  t = _ref3.t;
28496
28496
  cov_2gcfk56wsh().s[4]++;
28497
28497
  var validateContent = function validateContent() {
28498
- var _editorRef$current$ed;
28498
+ var _editorRef$current, _editorRef$current$ed;
28499
28499
  cov_2gcfk56wsh().f[1]++;
28500
28500
  cov_2gcfk56wsh().s[5]++;
28501
- if ((_editorRef$current$ed = editorRef.current.editor) !== null && _editorRef$current$ed !== void 0 && _editorRef$current$ed.isEmpty) {
28501
+ if ((_editorRef$current = editorRef.current) !== null && _editorRef$current !== void 0 && (_editorRef$current$ed = _editorRef$current.editor) !== null && _editorRef$current$ed !== void 0 && _editorRef$current$ed.isEmpty) {
28502
28502
  cov_2gcfk56wsh().b[0][0]++;
28503
28503
  cov_2gcfk56wsh().s[6]++;
28504
28504
  return t("common.thisFieldIsRequired");