catchup-library-web 1.6.1 → 1.6.3
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.js
CHANGED
|
@@ -3464,7 +3464,7 @@ var ActivityBodyContent = ({
|
|
|
3464
3464
|
contentMap,
|
|
3465
3465
|
answerMap
|
|
3466
3466
|
}) => {
|
|
3467
|
-
if (!bodyMap
|
|
3467
|
+
if (!bodyMap) return null;
|
|
3468
3468
|
const processBodyValue = (bodyValue, contentType, answerMap2) => {
|
|
3469
3469
|
var _a;
|
|
3470
3470
|
let currentQQIndex = 0;
|
|
@@ -3530,7 +3530,6 @@ var ActivityBodyContent = ({
|
|
|
3530
3530
|
key
|
|
3531
3531
|
});
|
|
3532
3532
|
}).filter(Boolean);
|
|
3533
|
-
console.log(processedBodies);
|
|
3534
3533
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "flex flex-col justify-center items-center", children: processedBodies.map((body, index) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
3535
3534
|
ShowBodyMediaByContentType_default,
|
|
3536
3535
|
{
|
package/dist/index.mjs
CHANGED
|
@@ -3272,7 +3272,7 @@ var ActivityBodyContent = ({
|
|
|
3272
3272
|
contentMap,
|
|
3273
3273
|
answerMap
|
|
3274
3274
|
}) => {
|
|
3275
|
-
if (!bodyMap
|
|
3275
|
+
if (!bodyMap) return null;
|
|
3276
3276
|
const processBodyValue = (bodyValue, contentType, answerMap2) => {
|
|
3277
3277
|
var _a;
|
|
3278
3278
|
let currentQQIndex = 0;
|
|
@@ -3338,7 +3338,6 @@ var ActivityBodyContent = ({
|
|
|
3338
3338
|
key
|
|
3339
3339
|
});
|
|
3340
3340
|
}).filter(Boolean);
|
|
3341
|
-
console.log(processedBodies);
|
|
3342
3341
|
return /* @__PURE__ */ jsx13("div", { className: "flex flex-col justify-center items-center", children: processedBodies.map((body, index) => /* @__PURE__ */ jsx13(
|
|
3343
3342
|
ShowBodyMediaByContentType_default,
|
|
3344
3343
|
{
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@ const ActivityBodyContent = ({
|
|
|
7
7
|
contentMap,
|
|
8
8
|
answerMap,
|
|
9
9
|
}: IActivityBodyContentProps) => {
|
|
10
|
-
if (!bodyMap
|
|
10
|
+
if (!bodyMap) return null;
|
|
11
11
|
|
|
12
12
|
const processBodyValue = (
|
|
13
13
|
bodyValue: string,
|
|
@@ -91,8 +91,6 @@ const ActivityBodyContent = ({
|
|
|
91
91
|
})
|
|
92
92
|
.filter(Boolean);
|
|
93
93
|
|
|
94
|
-
console.log(processedBodies);
|
|
95
|
-
|
|
96
94
|
return (
|
|
97
95
|
<div className="flex flex-col justify-center items-center">
|
|
98
96
|
{processedBodies.map((body, index) => (
|