@yogiswara/honcho-editor-ui 2.3.8 → 2.3.9

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.
@@ -299,15 +299,11 @@ export function usePreset(controller, firebaseUid, options = {}) {
299
299
  load();
300
300
  }
301
301
  }, [memoizedOptions.autoLoad, controller, firebaseUid, isInitialized, load, debugLog]);
302
- useEffect(() => {
303
- // This will run every time the 'presets' state actually changes.
304
- console.log("✅ NEW RENDER: The 'presets' state has been updated to:", presets);
305
- }, [presets]);
306
302
  // Clear state when controller or firebaseUid changes
307
303
  useEffect(() => {
308
304
  if (isInitialized) {
309
305
  debugLog('Controller or firebaseUid changed, clearing state');
310
- setPresets([]);
306
+ // setPresets([]);
311
307
  setError(null);
312
308
  setIsInitialized(false);
313
309
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yogiswara/honcho-editor-ui",
3
- "version": "2.3.8",
3
+ "version": "2.3.9",
4
4
  "description": "A complete UI component library for the Honcho photo editor.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",