@mx-cartographer/experiences 6.2.0-alpha.al1 → 6.2.0-alpha.al2
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 +3 -3
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -4036,7 +4036,7 @@ class ju {
|
|
4036
4036
|
}
|
4037
4037
|
loadSurvey = (n = !1) => {
|
4038
4038
|
sd.getActiveMatchingSurveys((i) => {
|
4039
|
-
if (i.length > 0) {
|
4039
|
+
if (console.log(i), i.length > 0) {
|
4040
4040
|
const a = i.find((r) => r.id === this.surveyId);
|
4041
4041
|
a && K(() => {
|
4042
4042
|
this.survey = a, this.currentQuestionIndex = 0, this.question = a.questions[0], this.response = null, this.responses = {};
|
@@ -21197,9 +21197,9 @@ const JC = () => {
|
|
21197
21197
|
survey: h
|
21198
21198
|
} = br(), { analytics: m, common: C } = I(), { isCopyLoaded: f, isInitialized: E } = ce(), [b, T] = g.useState(!1);
|
21199
21199
|
g.useEffect(() => {
|
21200
|
-
E && s();
|
21200
|
+
E && (console.log("loading Survey"), s());
|
21201
21201
|
}, [E]), g.useEffect(() => {
|
21202
|
-
e("survey shown", {
|
21202
|
+
console.log("survey loaded", h), e("survey shown", {
|
21203
21203
|
$survey_id: i
|
21204
21204
|
});
|
21205
21205
|
}, [h]);
|