mirror of
				https://github.com/excalidraw/excalidraw.git
				synced 2025-10-31 02:44:50 +01:00 
			
		
		
		
	fix: add missing hook dependency
This commit is contained in:
		| @@ -149,7 +149,13 @@ const ImageExportModal = ({ | ||||
|     } else { | ||||
|       setExportBaseScale(defaultExportScale); | ||||
|     } | ||||
|   }, [actionManager, exportedElements, previewRef]); | ||||
|   }, [ | ||||
|     actionManager, | ||||
|     exportedElements, | ||||
|     previewRef, | ||||
|     exportWithBackground, | ||||
|     exportBackgroundImage, | ||||
|   ]); | ||||
|  | ||||
|   useEffect(() => { | ||||
|     const previewNode = previewRef.current; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Arnošt Pleskot
					Arnošt Pleskot