@matchain/matchid-sdk-react 0.1.48-alpha.3 → 0.1.48-alpha.5

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.
@@ -2,11 +2,11 @@ import {
2
2
  bind_exports,
3
3
  poh_exports,
4
4
  user_exports
5
- } from "../../chunk-LPQROHSB.mjs";
5
+ } from "../../chunk-ZYDJICK4.mjs";
6
6
  import {
7
7
  isSuccess,
8
8
  wallet_exports
9
- } from "../../chunk-V3WGYFWQ.mjs";
9
+ } from "../../chunk-6GQ2H4L2.mjs";
10
10
  import "../../chunk-UA6XHZHX.mjs";
11
11
  import "../../chunk-LNSJ3ZXG.mjs";
12
12
  import "../../chunk-A5D3NKTK.mjs";
@@ -1580,11 +1580,11 @@ function useMatchWalletRecords({
1580
1580
  const [hasMore, setHasMore] = (0, import_react33.useState)(true);
1581
1581
  const [items, setItems] = (0, import_react33.useState)([]);
1582
1582
  const { chainId } = useMatchChain();
1583
- const chainIdStr = chainId.toString() || "";
1584
1583
  const fetchMoreData = async () => {
1585
1584
  if (!hasMore) {
1586
1585
  return;
1587
1586
  }
1587
+ const chainIdStr = chainId ? chainId.toString() : "";
1588
1588
  const res = await getUserWalletTransactionsApi({
1589
1589
  chain_id: chainIdStr,
1590
1590
  limit: pageSize,