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

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-546GCDLV.mjs";
13
13
  import "../chunk-UA6XHZHX.mjs";
14
14
  import {
15
15
  useLayout_exports
package/dist/index.js CHANGED
@@ -4924,7 +4924,7 @@ 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() || "";
4927
+ const chainIdStr = chainId ? chainId.toString() : "";
4928
4928
  const fetchMoreData = async () => {
4929
4929
  if (!hasMore) {
4930
4930
  return;