@capillarytech/creatives-library 8.0.343-alpha.3 → 8.0.343-alpha.4

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.343-alpha.3",
4
+ "version": "8.0.343-alpha.4",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -102,6 +102,10 @@ const useEmailWrapper = ({
102
102
  }
103
103
  }, [onEnterTemplateName, onRemoveTemplateName]);
104
104
 
105
+ useEffect(() => () => {
106
+ emailActions.clearStoreValues();
107
+ }, []);
108
+
105
109
  // Check BEE enabled status from API response
106
110
  // BEE is enabled if isDragDrop is true in the API response
107
111
  // This should work for both full mode and library mode