@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.
@@ -1297,11 +1297,11 @@ function useMatchWalletRecords({
1297
1297
  const [hasMore, setHasMore] = useState7(true);
1298
1298
  const [items, setItems] = useState7([]);
1299
1299
  const { chainId } = useMatchChain();
1300
- const chainIdStr = chainId.toString() || "";
1301
1300
  const fetchMoreData = async () => {
1302
1301
  if (!hasMore) {
1303
1302
  return;
1304
1303
  }
1304
+ const chainIdStr = chainId ? chainId.toString() : "";
1305
1305
  const res = await getUserWalletTransactionsApi({
1306
1306
  chain_id: chainIdStr,
1307
1307
  limit: pageSize,
@@ -4740,4 +4740,4 @@ export {
4740
4740
  MatchProvider,
4741
4741
  useMatch
4742
4742
  };
4743
- //# sourceMappingURL=chunk-V3WGYFWQ.mjs.map
4743
+ //# sourceMappingURL=chunk-6GQ2H4L2.mjs.map