@capillarytech/creatives-library 7.17.40 → 7.17.41

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "7.17.40",
4
+ "version": "7.17.41",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -813,7 +813,9 @@ export class Creatives extends React.Component {
813
813
  templateData = {
814
814
  ...template.value,
815
815
  };
816
- templateData?.type && delete templateData.type;
816
+ if (templateData?.type) {
817
+ delete templateData.type;
818
+ }
817
819
  }
818
820
  }
819
821
  break;
@@ -125,10 +125,8 @@ export const Zalo = (props) => {
125
125
 
126
126
  const handleSetValues = (paramsData = []) =>
127
127
  paramsData.map((paramData) => {
128
- // eslint-disable-next-line no-restricted-syntax
129
128
  for (const key in varMapped) {
130
129
  if (paramData?.name === key) {
131
- // eslint-disable-next-line no-param-reassign
132
130
  paramData.value = varMapped[key];
133
131
  }
134
132
  }
@@ -454,7 +452,6 @@ export const Zalo = (props) => {
454
452
  <CapButton
455
453
  onClick={saveToMessage}
456
454
  disabled={isEditDoneDisabled()}
457
- className="whatsapp-create-btn"
458
455
  >
459
456
  <FormattedMessage {...globalMessages.done} />
460
457
  </CapButton>