@yogiswara/honcho-editor-ui 2.3.6 → 2.3.7
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/dist/hooks/usePreset.js +2 -0
- package/package.json +1 -1
package/dist/hooks/usePreset.js
CHANGED
|
@@ -80,6 +80,8 @@ export function usePreset(controller, firebaseUid, options = {}) {
|
|
|
80
80
|
const loadedPresets = await controllerRef.current.getPresets(firebaseUidRef.current);
|
|
81
81
|
console.log('✅ 3. STATE UPDATE: setPresets is being called with:', loadedPresets);
|
|
82
82
|
setPresets(loadedPresets);
|
|
83
|
+
console.log('✅ 4. STATE UPDATE: setIsInitialized is being called with:', true);
|
|
84
|
+
console.log('presets thats called:', presets);
|
|
83
85
|
setIsInitialized(true);
|
|
84
86
|
debugLog('Presets loaded successfully', { count: loadedPresets.length });
|
|
85
87
|
}
|