@mx-cartographer/experiences 6.1.0-alpha.al17 → 6.1.0-alpha.al18
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.es.js +4 -4
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -21671,12 +21671,12 @@ const P3 = ({
|
|
21671
21671
|
s(a);
|
21672
21672
|
}, [a]), h.useEffect(() => {
|
21673
21673
|
const g = l(r.config.language);
|
21674
|
-
console.log("surveyid is", g),
|
21675
|
-
if (x.length) {
|
21674
|
+
g && (console.log("surveyid is", g), Bt.getActiveMatchingSurveys((x) => {
|
21675
|
+
if (console.log("surveys are ", x), x.length) {
|
21676
21676
|
const y = x.find((j) => j.id === g);
|
21677
|
-
y && (E(y), Bt.capture("survey shown", { $survey_id: y }));
|
21677
|
+
y && (console.log("setting survey to ", y), E(y), Bt.capture("survey shown", { $survey_id: y }));
|
21678
21678
|
}
|
21679
|
-
});
|
21679
|
+
}));
|
21680
21680
|
}, [Bt, r]), h.useEffect(() => {
|
21681
21681
|
if (console.log("survey changed", c), c !== null) {
|
21682
21682
|
console.log("survey not null");
|