@yogiswara/honcho-editor-ui 1.4.5 → 1.4.6
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.
|
@@ -305,7 +305,7 @@ export function useHonchoEditor(controller, initImageId, firebaseUid) {
|
|
|
305
305
|
setEditorStatus("Error: Could not load image from URL.");
|
|
306
306
|
setIsImageLoaded(false);
|
|
307
307
|
}
|
|
308
|
-
}, [editorRef.current]);
|
|
308
|
+
}, [editorRef.current, updateCanvasEditor]);
|
|
309
309
|
const handleScriptReady = useCallback(async () => {
|
|
310
310
|
console.log("[Editor] Script tag is ready."); // Log entry
|
|
311
311
|
if (typeof window.Module === 'function' && !editorRef.current) {
|