@capillarytech/creatives-library 8.0.345-alpha.4 → 8.0.345-alpha.5

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": "8.0.345-alpha.4",
4
+ "version": "8.0.345-alpha.5",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -37,7 +37,6 @@ const useEmailWrapper = ({
37
37
  // Props for Email component
38
38
  setIsLoadingContent,
39
39
  isGetFormData,
40
- templateData,
41
40
  getFormdata,
42
41
  type,
43
42
  isFullMode,
@@ -104,7 +103,9 @@ const useEmailWrapper = ({
104
103
  }, [onEnterTemplateName, onRemoveTemplateName]);
105
104
 
106
105
  useEffect(() => () => {
107
- emailActions.clearStoreValues();
106
+ return () =>{
107
+ emailActions.clearStoreValues();
108
+ }
108
109
  }, []);
109
110
 
110
111
  // Check BEE enabled status from API response