@realtek/core-theme 0.0.21 → 0.0.22

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-lib/index.js CHANGED
@@ -14111,11 +14111,8 @@ function tg({ form: e, config: t, api: n, popupContext: r, resolvedIds: i, dynam
14111
14111
  extraData: s,
14112
14112
  removedIds: c
14113
14113
  };
14114
- if (typeof n.submit == "function") {
14115
- await n.submit(e, r, t);
14116
- return;
14117
- }
14118
- typeof d == "function" && await d(e, r, t);
14114
+ if (typeof n.submit == "function") return n.submit(e, r, t);
14115
+ if (typeof d == "function") return d(e, r, t);
14119
14116
  }
14120
14117
  function _() {
14121
14118
  if (t) {