@timardex/cluemart-shared 1.5.620 → 1.5.621
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-A2ZE5RVV.mjs → chunk-Z6IM4DWX.mjs} +3 -3
- package/dist/chunk-Z6IM4DWX.mjs.map +1 -0
- package/dist/graphql/index.cjs +2 -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 +2 -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 +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-A2ZE5RVV.mjs.map +0 -1
package/dist/hooks/index.mjs
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -4977,8 +4977,8 @@ var import_client33 = require("@apollo/client");
|
|
|
4977
4977
|
var useGetRelation = (_id) => {
|
|
4978
4978
|
const { loading, error, data, refetch } = (0, import_client33.useQuery)(GET_RELATION, {
|
|
4979
4979
|
fetchPolicy: "network-only",
|
|
4980
|
-
skip: !_id
|
|
4981
|
-
variables: { _id }
|
|
4980
|
+
skip: !_id,
|
|
4981
|
+
variables: _id ? { _id } : void 0
|
|
4982
4982
|
});
|
|
4983
4983
|
const relation = data?.relation;
|
|
4984
4984
|
return { error, loading, refetch, relation };
|