@yogiswara/honcho-editor-ui 2.3.7 → 2.3.8

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,6 +299,10 @@ 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]);
302
306
  // Clear state when controller or firebaseUid changes
303
307
  useEffect(() => {
304
308
  if (isInitialized) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yogiswara/honcho-editor-ui",
3
- "version": "2.3.7",
3
+ "version": "2.3.8",
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",