@realtek/core-theme 0.0.24 → 0.0.25

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
@@ -2012,7 +2012,7 @@ async function ea(e = "", t = "") {
2012
2012
  let n = new URLSearchParams();
2013
2013
  e && n.append("module", e), t && n.append("type", t);
2014
2014
  let r = await Z(X, `${$i}?${n.toString()}`), i = r?.data;
2015
- return Array.isArray(i) && Array.isArray(i[0]?.groups) ? i[0].groups : Array.isArray(i) ? i : Array.isArray(r) ? r : [];
2015
+ return Array.isArray(i) ? i : Array.isArray(r) ? r : [];
2016
2016
  }
2017
2017
  async function ta(e) {
2018
2018
  return Z(X, $i, {