@timardex/cluemart-shared 1.5.525 → 1.5.526
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-F7HH3PVS.mjs → chunk-4TFXXGPQ.mjs} +3 -3
- package/dist/{chunk-F7HH3PVS.mjs.map → chunk-4TFXXGPQ.mjs.map} +1 -1
- 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/hooks/index.mjs
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -6428,8 +6428,8 @@ var useGetGames = () => {
|
|
|
6428
6428
|
var useGetGame = (_id) => {
|
|
6429
6429
|
const { loading, error, data, refetch } = (0, import_client66.useQuery)(GET_GAME, {
|
|
6430
6430
|
fetchPolicy: "network-only",
|
|
6431
|
-
skip: !_id
|
|
6432
|
-
variables: { _id }
|
|
6431
|
+
skip: !_id,
|
|
6432
|
+
variables: _id ? { _id } : void 0
|
|
6433
6433
|
});
|
|
6434
6434
|
const game = data?.game || null;
|
|
6435
6435
|
return { error, game, loading, refetch };
|