@matchain/matchid-sdk-react 0.1.53-alpha.22 → 0.1.53-alpha.23
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-ZOBAUYIZ.mjs → chunk-WNDUHFQX.mjs} +3 -3
- package/dist/{chunk-ZOBAUYIZ.mjs.map → chunk-WNDUHFQX.mjs.map} +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/hooks/api/index.js +2 -2
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +1 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/index.mjs +1 -1
- package/package.json +1 -1
package/dist/components/index.js
CHANGED
|
@@ -6542,11 +6542,11 @@ var import_react_query13 = require("@tanstack/react-query");
|
|
|
6542
6542
|
var import_last = __toESM(require("lodash/last"));
|
|
6543
6543
|
var import_react43 = require("react");
|
|
6544
6544
|
function useContactList(page_size = 10, type = "Friend") {
|
|
6545
|
-
const {
|
|
6545
|
+
const { address } = useUserInfo();
|
|
6546
6546
|
const limitIdRef = (0, import_react43.useRef)(0);
|
|
6547
6547
|
const queryClient2 = (0, import_react_query13.useQueryClient)();
|
|
6548
6548
|
const contactQuery = (0, import_react_query13.useInfiniteQuery)({
|
|
6549
|
-
queryKey: ["matchid-contacts-list", type,
|
|
6549
|
+
queryKey: ["matchid-contacts-list", type, address],
|
|
6550
6550
|
initialPageParam: 1,
|
|
6551
6551
|
queryFn: async (args) => {
|
|
6552
6552
|
console.log(args);
|