@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.
@@ -9,7 +9,7 @@ import {
9
9
  useToast,
10
10
  useUserInfo,
11
11
  useWallet
12
- } from "../chunk-V3WGYFWQ.mjs";
12
+ } from "../chunk-6GQ2H4L2.mjs";
13
13
  import "../chunk-UA6XHZHX.mjs";
14
14
  import {
15
15
  useLayout_exports
package/dist/index.js CHANGED
@@ -4924,11 +4924,11 @@ function useMatchWalletRecords({
4924
4924
  const [hasMore, setHasMore] = (0, import_react29.useState)(true);
4925
4925
  const [items, setItems] = (0, import_react29.useState)([]);
4926
4926
  const { chainId } = useMatchChain();
4927
- const chainIdStr = chainId.toString() || "";
4928
4927
  const fetchMoreData = async () => {
4929
4928
  if (!hasMore) {
4930
4929
  return;
4931
4930
  }
4931
+ const chainIdStr = chainId ? chainId.toString() : "";
4932
4932
  const res = await getUserWalletTransactionsApi({
4933
4933
  chain_id: chainIdStr,
4934
4934
  limit: pageSize,