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