@timardex/cluemart-shared 1.4.56 → 1.4.57
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-INEGK3OJ.mjs → chunk-77MGTLHY.mjs} +5 -3
- package/dist/{chunk-INEGK3OJ.mjs.map → chunk-77MGTLHY.mjs.map} +1 -1
- package/dist/graphql/index.cjs +4 -2
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +1 -1
- package/dist/graphql/index.d.ts +1 -1
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2641,9 +2641,11 @@ var useGetUserActivities = () => {
|
|
|
2641
2641
|
};
|
|
2642
2642
|
return { error, loading, refetch, userActivities };
|
|
2643
2643
|
};
|
|
2644
|
-
var useGetUserResources = () => {
|
|
2644
|
+
var useGetUserResources = (userId) => {
|
|
2645
2645
|
const { loading, error, data, refetch } = useQuery6(GET_USER_RESOURCES, {
|
|
2646
|
-
fetchPolicy: "network-only"
|
|
2646
|
+
fetchPolicy: "network-only",
|
|
2647
|
+
skip: !userId,
|
|
2648
|
+
variables: { userId }
|
|
2647
2649
|
});
|
|
2648
2650
|
const userResources = data?.userResources.resources || [];
|
|
2649
2651
|
return { error, loading, refetch, userResources };
|
|
@@ -3514,4 +3516,4 @@ export {
|
|
|
3514
3516
|
useUpdateGoogleImportedMarkets,
|
|
3515
3517
|
useGetAppSettings
|
|
3516
3518
|
};
|
|
3517
|
-
//# sourceMappingURL=chunk-
|
|
3519
|
+
//# sourceMappingURL=chunk-77MGTLHY.mjs.map
|