@timardex/cluemart-shared 1.3.84 → 1.3.85

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.
@@ -3394,7 +3394,7 @@ var useGetPost = (_id) => {
3394
3394
  skip: !_id,
3395
3395
  variables: { _id }
3396
3396
  });
3397
- return { error, loading, post: data?.post || null, refetch };
3397
+ return { error, loading, post: data?.post, refetch };
3398
3398
  };
3399
3399
  var useGetPostsByType = (postType) => {
3400
3400
  const { data, loading, error, refetch } = (0, import_client62.useQuery)(GET_POSTS_BY_TYPE, {