@pushwoosh/smart-components-kit 1.0.65 → 1.0.66
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.
|
@@ -2,7 +2,7 @@ import React, { useEffect, useState } from 'react';
|
|
|
2
2
|
import { useForm } from 'react-hook-form';
|
|
3
3
|
import { useParams } from 'react-router-dom';
|
|
4
4
|
import { FieldBox, Modal, ModalBody, ModalHeader, ModalFooter, NativeInput, Select, Button, Banner } from '@pushwoosh/dumb-components';
|
|
5
|
-
import { Horizontal,
|
|
5
|
+
import { Horizontal, useAsync, Vertical } from '@pushwoosh/kit-helpers';
|
|
6
6
|
import { H3, Paragraph } from '@pushwoosh/kit-typography';
|
|
7
7
|
import { useSPAContext } from '@pushwoosh/spa-context';
|
|
8
8
|
export function ModalCloningJourney({
|
|
@@ -127,11 +127,6 @@ export function ModalCloningJourney({
|
|
|
127
127
|
sourceAppCode: applicationCode,
|
|
128
128
|
title
|
|
129
129
|
});
|
|
130
|
-
if (destination.length > 1 || destination.length === 1 && destination[0] !== applicationCode) {
|
|
131
|
-
trackMixpanelEvent({
|
|
132
|
-
name: 'CloneJourneyToAnotherApp'
|
|
133
|
-
});
|
|
134
|
-
}
|
|
135
130
|
onAfterClone === null || onAfterClone === void 0 || onAfterClone(destination.includes(applicationCode));
|
|
136
131
|
} finally {
|
|
137
132
|
setIsCloning(false);
|
package/package.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@floating-ui/react-dom": "^2.1.2",
|
|
24
24
|
"@pushwoosh/dumb-components": "^1.1.66",
|
|
25
25
|
"@pushwoosh/kit-constants": "^1.6.9",
|
|
26
|
-
"@pushwoosh/kit-helpers": "^4.
|
|
26
|
+
"@pushwoosh/kit-helpers": "^4.9.0",
|
|
27
27
|
"@pushwoosh/kit-icons": "^2.1.6",
|
|
28
28
|
"@pushwoosh/kit-typography": "^1.7.3",
|
|
29
29
|
"@pushwoosh/spa-context": "^1.0.0",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"react": "^16.14.0 || ^18.0.0",
|
|
48
48
|
"react-dom": "^16.14.0 || ^18.0.0"
|
|
49
49
|
},
|
|
50
|
-
"version": "1.0.
|
|
50
|
+
"version": "1.0.66"
|
|
51
51
|
}
|