@timardex/cluemart-shared 1.5.525 → 1.5.527

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.
@@ -3800,8 +3800,8 @@ var useGetGames = () => {
3800
3800
  var useGetGame = (_id) => {
3801
3801
  const { loading, error, data, refetch } = (0, import_client66.useQuery)(GET_GAME, {
3802
3802
  fetchPolicy: "network-only",
3803
- skip: !_id || _id === "",
3804
- variables: { _id }
3803
+ skip: !_id,
3804
+ variables: _id ? { _id } : void 0
3805
3805
  });
3806
3806
  const game = data?.game || null;
3807
3807
  return { error, game, loading, refetch };