fix: add missing hook dependency
This commit is contained in:
parent
4c8cf9c91c
commit
1f62bd8c67
@ -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…
x
Reference in New Issue
Block a user