easy-email-extensions 3.1.6 → 3.1.7
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/lib/index2.js +5 -1
- package/lib/index2.js.map +1 -1
- package/package.json +2 -2
package/lib/index2.js
CHANGED
@@ -39233,7 +39233,11 @@ const MergeTags = React__default.memo((props) => {
|
|
39233
39233
|
const onSelect = useCallback((value) => {
|
39234
39234
|
return props.onChange(value);
|
39235
39235
|
}, [props]);
|
39236
|
-
const mergeTagContent = useMemo(() => renderMergeTagContent({
|
39236
|
+
const mergeTagContent = useMemo(() => renderMergeTagContent({
|
39237
|
+
onChange: props.onChange,
|
39238
|
+
isSelect: props.isSelect,
|
39239
|
+
value: props.value
|
39240
|
+
}), [renderMergeTagContent, props.onChange, props.isSelect, props.value]);
|
39237
39241
|
if (renderMergeTagContent) {
|
39238
39242
|
return mergeTagContent;
|
39239
39243
|
}
|