@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.
- package/dist/{chunk-V3WGYFWQ.mjs → chunk-6GQ2H4L2.mjs} +2 -2
- package/dist/chunk-6GQ2H4L2.mjs.map +1 -0
- package/dist/{chunk-LPQROHSB.mjs → chunk-ZYDJICK4.mjs} +2 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +2 -2
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-V3WGYFWQ.mjs.map +0 -1
- /package/dist/{chunk-LPQROHSB.mjs.map → chunk-ZYDJICK4.mjs.map} +0 -0
package/dist/hooks/index.mjs
CHANGED
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,
|