@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.mjs CHANGED
@@ -2999,8 +2999,7 @@ var init_convert_column = __esm({
2999
2999
  align: "left",
3000
3000
  width: 150,
3001
3001
  render(txId, record) {
3002
- if (!txId)
3003
- return /* @__PURE__ */ jsx(Text, { intensity: 54, children: "-" });
3002
+ if (!txId) return /* @__PURE__ */ jsx(Text, { intensity: 54, children: "-" });
3004
3003
  const chainInfo = options.chainsInfo?.find(
3005
3004
  (item) => record.chain_id === parseInt(item.chain_id)
3006
3005
  );
@@ -5150,8 +5149,7 @@ var init_apiManager_script = __esm({
5150
5149
  createdSuccess(generateKeyRes, void 0);
5151
5150
  }
5152
5151
  } catch (err) {
5153
- if (err?.message)
5154
- toast.error(err?.message);
5152
+ if (err?.message) toast.error(err?.message);
5155
5153
  }
5156
5154
  return Promise.resolve(0);
5157
5155
  };
@@ -5283,8 +5281,7 @@ var init_createApiKey = __esm({
5283
5281
  }
5284
5282
  }, [props.showCreateDialog]);
5285
5283
  useEffect(() => {
5286
- if (ipText.length === 0)
5287
- setHint("");
5284
+ if (ipText.length === 0) setHint("");
5288
5285
  }, [ipText]);
5289
5286
  return /* @__PURE__ */ jsx(
5290
5287
  SimpleDialog,
@@ -5685,8 +5682,7 @@ var init_editApiKey = __esm({
5685
5682
  setTrade(scope.includes("trading"));
5686
5683
  }, [item]);
5687
5684
  useEffect(() => {
5688
- if (ipText.length === 0)
5689
- setHint("");
5685
+ if (ipText.length === 0) setHint("");
5690
5686
  }, [ipText]);
5691
5687
  return /* @__PURE__ */ jsx(
5692
5688
  SimpleDialog,
@@ -8974,5 +8970,5 @@ var HistoryPage = () => {
8974
8970
  };
8975
8971
 
8976
8972
  export { api_exports as APIManagerModule, assets_exports2 as AssetsModule, feeTier_exports as FeeTierModule, history_exports as HistoryModule, page_exports2 as OrdersModule, overview_exports as OverviewModule, PortfolioLayout, PortfolioLayoutWidget, PortfolioLeftSidebarPath, page_exports as PositionsModule, setting_exports as SettingModule, usePortfolioLayoutScript };
8977
- //# sourceMappingURL=out.js.map
8973
+ //# sourceMappingURL=index.mjs.map
8978
8974
  //# sourceMappingURL=index.mjs.map