mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: add missing hook dependency
This commit is contained in:
parent
4c8cf9c91c
commit
1f62bd8c67
1 changed files with 7 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue