@bigbinary/neeto-molecules 3.16.11 → 3.16.13
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/NeetoWidget.js +2 -4
- package/dist/NeetoWidget.js.map +1 -1
- package/dist/ProductEmbed.js +3 -2
- package/dist/ProductEmbed.js.map +1 -1
- package/dist/cjs/NeetoWidget.js +1 -3
- package/dist/cjs/NeetoWidget.js.map +1 -1
- package/dist/cjs/ProductEmbed.js +3 -2
- package/dist/cjs/ProductEmbed.js.map +1 -1
- package/package.json +1 -1
- package/types/ProductEmbed.d.ts +3 -0
package/dist/cjs/NeetoWidget.js
CHANGED
|
@@ -2343,8 +2343,6 @@ function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t
|
|
|
2343
2343
|
var CodeSnippet = function CodeSnippet(_ref) {
|
|
2344
2344
|
var isPaneOpen = _ref.isPaneOpen,
|
|
2345
2345
|
onClose = _ref.onClose,
|
|
2346
|
-
_ref$onSent = _ref.onSent,
|
|
2347
|
-
onSent = _ref$onSent === void 0 ? neetoCist.noop : _ref$onSent,
|
|
2348
2346
|
codeString = _ref.codeString,
|
|
2349
2347
|
_ref$subject = _ref.subject,
|
|
2350
2348
|
subject = _ref$subject === void 0 ? "" : _ref$subject,
|
|
@@ -2360,7 +2358,7 @@ var CodeSnippet = function CodeSnippet(_ref) {
|
|
|
2360
2358
|
_useState2 = _slicedToArray(_useState, 2),
|
|
2361
2359
|
selectedFramework = _useState2[0],
|
|
2362
2360
|
setSelectedFramework = _useState2[1];
|
|
2363
|
-
var emailMutation = useEmailEmbedCode(
|
|
2361
|
+
var emailMutation = useEmailEmbedCode(onClose);
|
|
2364
2362
|
var codeToDisplay = emailType === EMAIL_TYPES.userIdentity ? getSampleUserIdentity(enabledWidgets, selectedFramework.value) : codeString;
|
|
2365
2363
|
var handleSubmit = function handleSubmit(formData) {
|
|
2366
2364
|
var _body$ref$current$inn, _body$ref;
|