diff --git a/src/Editor.js b/src/Editor.js index 45b27d8..1928965 100644 --- a/src/Editor.js +++ b/src/Editor.js @@ -83,10 +83,7 @@ function Editor({ onChange, background, backgroundRatio, foreground }) { setPhotoWidth(new_photoWidth) setPhotoHeight(new_photoHeight) } - }, [ - backgroundRatio, - foreground, - ]) + }, [backgroundRatio]) useEffect(() => { const {