@apolitical/component-library 4.6.0-4652.0 → 4.6.0-4652.2

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.
Files changed (3) hide show
  1. package/index.js +29 -29
  2. package/index.mjs +5 -10
  3. package/package.json +1 -1
package/index.mjs CHANGED
@@ -26340,26 +26340,21 @@ const BE = {
26340
26340
  n(t, h).then((G) => {
26341
26341
  f(() => ({ data: G, isLoading: !1 }));
26342
26342
  }).catch(() => f((G) => ({ ...G, isLoading: !1 })));
26343
- }, [e]), E = Re((G) => kE(G) ? (console.log("role: ", G.role), {
26343
+ }, [e]), E = Re((G) => (console.log("data", G), kE(G) ? (console.log("data isMember", G), {
26344
26344
  count: G.membersCount || 0,
26345
26345
  isMember: !!G.role,
26346
26346
  memberType: G.role || null
26347
- }) : {
26347
+ }) : (console.log("data isNotMember", G), {
26348
26348
  count: 0,
26349
26349
  isMember: !1,
26350
26350
  memberType: null
26351
- }, []), F = Re(() => {
26351
+ })), []), F = Re(() => {
26352
26352
  const { slug: G } = t;
26353
- console.log({
26354
- communitySlug: G,
26355
- buildMemberData: !r,
26356
- isCommunityCard: !p,
26357
- isCommunityCardString: typeof G != "string"
26358
- }), !(!r || !p || typeof G != "string") && r(G).then(E).then(v).catch(() => f((D) => D));
26353
+ !r || !p || typeof G != "string" || r(G).then(E).then(v).catch(() => f((D) => D));
26359
26354
  }, [r, t, p, E]);
26360
26355
  if (he(() => {
26361
26356
  w(), F();
26362
- }, []), k || !x)
26357
+ }, []), console.log("Members", b), k || !x)
26363
26358
  return /* @__PURE__ */ c.jsx(
26364
26359
  Rt,
26365
26360
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apolitical/component-library",
3
- "version": "4.6.0-4652.0",
3
+ "version": "4.6.0-4652.2",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {