@timardex/cluemart-shared 1.0.6 → 1.0.8

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/index.cjs CHANGED
@@ -1412,7 +1412,7 @@ var import_client7 = require("@apollo/client");
1412
1412
  var useGetChat = (_id) => {
1413
1413
  const { loading, error, data, refetch } = (0, import_client7.useQuery)(CHAT, {
1414
1414
  fetchPolicy: "network-only",
1415
- skip: _id === "",
1415
+ skip: !_id,
1416
1416
  variables: { _id }
1417
1417
  });
1418
1418
  const chat = data?.chat;