@orderly.network/portfolio 2.8.10-alpha.0 → 2.8.11-alpha.0

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.js CHANGED
@@ -3006,8 +3006,7 @@ var init_convert_column = __esm({
3006
3006
  align: "left",
3007
3007
  width: 150,
3008
3008
  render(txId, record) {
3009
- if (!txId)
3010
- return /* @__PURE__ */ jsxRuntime.jsx(ui.Text, { intensity: 54, children: "-" });
3009
+ if (!txId) return /* @__PURE__ */ jsxRuntime.jsx(ui.Text, { intensity: 54, children: "-" });
3011
3010
  const chainInfo = options.chainsInfo?.find(
3012
3011
  (item) => record.chain_id === parseInt(item.chain_id)
3013
3012
  );
@@ -5157,8 +5156,7 @@ var init_apiManager_script = __esm({
5157
5156
  createdSuccess(generateKeyRes, void 0);
5158
5157
  }
5159
5158
  } catch (err) {
5160
- if (err?.message)
5161
- ui.toast.error(err?.message);
5159
+ if (err?.message) ui.toast.error(err?.message);
5162
5160
  }
5163
5161
  return Promise.resolve(0);
5164
5162
  };
@@ -5290,8 +5288,7 @@ var init_createApiKey = __esm({
5290
5288
  }
5291
5289
  }, [props.showCreateDialog]);
5292
5290
  React12.useEffect(() => {
5293
- if (ipText.length === 0)
5294
- setHint("");
5291
+ if (ipText.length === 0) setHint("");
5295
5292
  }, [ipText]);
5296
5293
  return /* @__PURE__ */ jsxRuntime.jsx(
5297
5294
  ui.SimpleDialog,
@@ -5692,8 +5689,7 @@ var init_editApiKey = __esm({
5692
5689
  setTrade(scope.includes("trading"));
5693
5690
  }, [item]);
5694
5691
  React12.useEffect(() => {
5695
- if (ipText.length === 0)
5696
- setHint("");
5692
+ if (ipText.length === 0) setHint("");
5697
5693
  }, [ipText]);
5698
5694
  return /* @__PURE__ */ jsxRuntime.jsx(
5699
5695
  ui.SimpleDialog,
@@ -8992,5 +8988,5 @@ exports.PortfolioLeftSidebarPath = PortfolioLeftSidebarPath;
8992
8988
  exports.PositionsModule = page_exports;
8993
8989
  exports.SettingModule = setting_exports;
8994
8990
  exports.usePortfolioLayoutScript = usePortfolioLayoutScript;
8995
- //# sourceMappingURL=out.js.map
8991
+ //# sourceMappingURL=index.js.map
8996
8992
  //# sourceMappingURL=index.js.map