@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
|
@@ -7958,11 +7958,11 @@ import { useInfiniteQuery as useInfiniteQuery2, useQuery as useQuery12, useQuery
|
|
|
7958
7958
|
import last2 from "lodash/last";
|
|
7959
7959
|
import { useEffect as useEffect34, useMemo as useMemo21, useRef as useRef6 } from "react";
|
|
7960
7960
|
function useContactList(page_size = 10, type = "Friend") {
|
|
7961
|
-
const {
|
|
7961
|
+
const { address } = useUserInfo();
|
|
7962
7962
|
const limitIdRef = useRef6(0);
|
|
7963
7963
|
const queryClient2 = useQueryClient5();
|
|
7964
7964
|
const contactQuery = useInfiniteQuery2({
|
|
7965
|
-
queryKey: ["matchid-contacts-list", type,
|
|
7965
|
+
queryKey: ["matchid-contacts-list", type, address],
|
|
7966
7966
|
initialPageParam: 1,
|
|
7967
7967
|
queryFn: async (args) => {
|
|
7968
7968
|
console.log(args);
|
|
@@ -8132,4 +8132,4 @@ export {
|
|
|
8132
8132
|
MatchProvider,
|
|
8133
8133
|
useMatch
|
|
8134
8134
|
};
|
|
8135
|
-
//# sourceMappingURL=chunk-
|
|
8135
|
+
//# sourceMappingURL=chunk-WNDUHFQX.mjs.map
|